bunit 1.3.30-preview

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.3.30-preview
NuGet\Install-Package bunit -Version 1.3.30-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.3.30-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.3.30-preview
#r "nuget: bunit, 1.3.30-preview"
#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.30-preview&prerelease

// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.3.30-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 (8)

Showing the top 5 NuGet packages that depend on bunit:

Package Downloads

Extension methods that provide fluent assertions on top of BUnit.


Package Description

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


Renders Blazor markup in dotnet-interactive notebooks.


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

GitHub repositories (13)

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. The goal is to do more with Blazor, utilizing CSS and keeping Javascript to a bare minimum.
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
ReactiveProperty provides MVVM and asynchronous support features under Reactive Extensions. Target frameworks are .NET 6+, .NET Framework 4.7.2 and .NET Standard 2.0.
Version Downloads Last updated
1.12.6 19,494 11/8/2022
1.12.4-preview 277 10/26/2022
1.11.7 34,978 10/13/2022
1.10.14 42,194 9/16/2022
1.10.13-preview 115 9/16/2022
1.9.8 214,223 6/7/2022
1.9.7-preview 1,545 5/26/2022
1.9.1-preview 663 5/21/2022
1.8.15 36,459 5/19/2022
1.7.7 41,248 4/29/2022
1.6.4 198,656 2/22/2022
1.5.12 21,980 2/15/2022
1.4.15 112,829 12/18/2021
1.3.42 94,680 11/9/2021
1.3.38-preview 151 11/9/2021
1.3.35-preview 8,029 10/20/2021
1.3.30-preview 1,196 10/15/2021
1.2.49 117,998 8/9/2021
1.2.49-preview 241 8/7/2021
1.2.36-preview 4,436 6/25/2021
1.2.35-preview 184 6/24/2021
1.2.28-preview 1,643 5/26/2021
1.2.27-preview 293 5/22/2021
1.2.26-preview.gd07edb4207 158 5/21/2021
1.1.5 202,256 4/30/2021
1.0.19 27,168 4/11/2021
1.0.16 789 4/11/2021
1.0.0-preview-02 2,065 3/26/2021
1.0.0-preview-01 49,541 12/24/2020
1.0.0-beta-11 33,552 10/26/2020
1.0.0-beta-10 23,952 9/15/2020