bunit 1.3.42

Install-Package bunit -Version 1.3.42
dotnet add package bunit --version 1.3.42
<PackageReference Include="bunit" Version="1.3.42" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.3.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: bunit, 1.3.42"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install bunit as a Cake Addin
#addin nuget:?package=bunit&version=1.3.42

// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.3.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

NuGet packages (5)

Showing the top 5 NuGet packages that depend on bunit:

Package Downloads

Extension methods that provide fluent assertions on top of BUnit.


Package Description


Renders Blazor markup in dotnet-interactive notebooks.


Package Description


A testing library to provide helper extensions for Blazored.Toast

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on bunit:

Repository Stars
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Blazor Component Library based on Material design. The goal is to do more with Blazor, utilizing CSS and keeping Javascript to a bare minimum.
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 parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
A JavaScript free toast library for Blazor and Razor Component applications
OpenID/Connect, OAuth2 and WS-Federation server based on IdentityServer4 or Duende IdentityServer with its admin UI
Version Downloads Last updated
1.3.42 9,314 11/9/2021
1.3.38-preview 78 11/9/2021
1.3.35-preview 1,573 10/20/2021
1.3.30-preview 789 10/15/2021
1.2.49 55,363 8/9/2021
1.2.49-preview 173 8/7/2021
1.2.36-preview 3,872 6/25/2021
1.2.35-preview 109 6/24/2021
1.2.28-preview 1,241 5/26/2021
1.2.27-preview 237 5/22/2021
1.2.26-preview.gd07edb4207 101 5/21/2021
1.1.5 74,424 4/30/2021
1.0.19 20,787 4/11/2021
1.0.16 487 4/11/2021
1.0.0-preview-02 1,958 3/26/2021
1.0.0-preview-01 36,955 12/24/2020
1.0.0-beta-11 27,826 10/26/2020
1.0.0-beta-10 20,118 9/15/2020