bunit 1.18.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package bunit --version 1.18.4
NuGet\Install-Package bunit -Version 1.18.4
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.18.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.18.4
#r "nuget: bunit, 1.18.4"
#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.18.4

// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.18.4

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.


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.

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


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


Renders Blazor markup in dotnet-interactive notebooks.

GitHub repositories (18)

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

Repository Stars
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
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.
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
A set of enterprise-class UI components based on Bootstrap and Blazor
Microsoft Fluent UI Blazor component library. For use with .NET 6.0 or higher Blazor applications
Version Downloads Last updated
1.18.4 30,038 2/26/2023
1.17.2 4,593 2/22/2023
1.16.2 34,188 2/7/2023
1.15.5 5,536 2/4/2023
1.14.4 57,644 1/11/2023
1.13.5 56,307 12/16/2022
1.12.6 155,581 11/8/2022
1.12.4-preview 437 10/26/2022
1.11.7 60,655 10/13/2022
1.10.14 59,029 9/16/2022
1.10.13-preview 175 9/16/2022
1.9.8 270,338 6/7/2022
1.9.7-preview 1,707 5/26/2022
1.9.1-preview 693 5/21/2022
1.8.15 45,038 5/19/2022
1.7.7 49,514 4/29/2022
1.6.4 278,247 2/22/2022
1.5.12 24,973 2/15/2022
1.4.15 134,674 12/18/2021
1.3.42 120,003 11/9/2021
1.3.38-preview 162 11/9/2021
1.3.35-preview 9,520 10/20/2021
1.3.30-preview 1,424 10/15/2021
1.2.49 130,568 8/9/2021
1.2.49-preview 255 8/7/2021
1.2.36-preview 4,536 6/25/2021
1.2.35-preview 197 6/24/2021
1.2.28-preview 1,677 5/26/2021
1.2.27-preview 304 5/22/2021
1.2.26-preview.gd07edb4207 172 5/21/2021
1.1.5 211,622 4/30/2021
1.0.19 27,916 4/11/2021
1.0.16 895 4/11/2021
1.0.0-preview-02 2,079 3/26/2021
1.0.0-preview-01 50,301 12/24/2020
1.0.0-beta-11 35,114 10/26/2020
1.0.0-beta-10 25,580 9/15/2020