bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass param...
翻译 - Blazor组件的测试库。您可以轻松地使用C#或Razor语法定义被测组件,并使用语义HTML差异/比较逻辑来验证结果。您可以轻松地与组件交互并检查它们,触发事件处理程序,提供级联值,注入服务,模拟IJSRuntime并执行快照测试。