bunit 1.2.35-preview

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of bunit.
There is a newer version of this package available.
See the version list below for details.
dotnet add package bunit --version 1.2.35-preview
NuGet\Install-Package bunit -Version 1.2.35-preview
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="bunit" Version="1.2.35-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.2.35-preview
#r "nuget: bunit, 1.2.35-preview"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.2.35-preview&prerelease

// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.2.35-preview&prerelease

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on bunit:

Package Downloads

Extension methods that provide fluent assertions on top of BUnit.

Blazored.Toast.TestExtensions The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A testing library to provide helper extensions for Blazored.Toast


Breakdance is a testing framework for managing the dangerous dance of shipping public APIs. This package helps generate public API reports for any .NET assembly, and compare them against a prior unit test run. That way, if something in the API surface changed, the unit test will fail.


Extended functionality of Stoic Dreams Test Framework, adding funtionality to handle testing against rendered .razor components for unit and integration testing.


A highly modular Framework to write Blazor Applications with a husstle free vertical sliced architecture - Easy. Flexible. Focused.

GitHub repositories (20)

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

Repository Stars
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Microsoft Fluent UI Blazor components library. For use with .NET 6.0 or higher Blazor applications
A set of enterprise-class UI components based on Bootstrap and Blazor
Version Downloads Last updated
1.20.8 11,944 5/21/2023
1.20.7-preview 132 5/17/2023
1.19.14 31,492 4/26/2023
1.18.4 152,856 2/26/2023
1.17.2 8,142 2/22/2023
1.16.2 64,186 2/7/2023
1.15.5 9,047 2/4/2023
1.14.4 76,197 1/11/2023
1.13.5 72,101 12/16/2022
1.12.6 179,446 11/8/2022
1.12.4-preview 463 10/26/2022
1.11.7 69,268 10/13/2022
1.10.14 67,349 9/16/2022
1.10.13-preview 200 9/16/2022
1.9.8 291,303 6/7/2022
1.9.7-preview 1,724 5/26/2022
1.9.1-preview 705 5/21/2022
1.8.15 48,691 5/19/2022
1.7.7 52,548 4/29/2022
1.6.4 298,695 2/22/2022
1.5.12 25,771 2/15/2022
1.4.15 145,737 12/18/2021
1.3.42 128,113 11/9/2021
1.3.38-preview 176 11/9/2021
1.3.35-preview 10,196 10/20/2021
1.3.30-preview 1,676 10/15/2021
1.2.49 138,490 8/9/2021
1.2.49-preview 265 8/7/2021
1.2.36-preview 4,554 6/25/2021
1.2.35-preview 207 6/24/2021
1.2.28-preview 1,708 5/26/2021
1.2.27-preview 315 5/22/2021
1.2.26-preview.gd07edb4207 181 5/21/2021
1.1.5 216,884 4/30/2021
1.0.19 28,735 4/11/2021
1.0.16 1,029 4/11/2021
1.0.0-preview-02 2,091 3/26/2021
1.0.0-preview-01 50,930 12/24/2020
1.0.0-beta-11 35,621 10/26/2020
1.0.0-beta-10 26,904 9/15/2020