A project template for a testing Blazor/Razor components using the bUnit library.
bUnit is a testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.
The library's goal is to make it easy to write comprehensive, stable unit tests for Blazor Components/Razor Components. Go to bunit.egilhansen.com to learn more.
dotnet new --install bunit.template::1.0.0-beta-7
- No dependencies.
GitHub repositories (0)
This package is not used by any popular GitHub repositories.