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 interact with and inspect the component under test, trigger event handlers, provide cascading values, and inject services.
bUnit also includes a complete fake implementation of Blazor's authentication and authorization logic, navigation manager, and
Install-Package bunit -Version 1.0.19
dotnet add package bunit --version 1.0.19
<PackageReference Include="bunit" Version="1.0.19" />
paket add bunit --version 1.0.19
#r "nuget: bunit, 1.0.19"
// Install bunit as a Cake Addin #addin nuget:?package=bunit&version=1.0.19 // Install bunit as a Cake Tool #tool nuget:?package=bunit&version=1.0.19
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on bunit:
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
NetLearner: The Internet Resource Learning Helper built with ASP .NET Core