bunit 1.0.0-beta-10

This is a prerelease version of bunit.
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package bunit -Version 1.0.0-beta-10
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.
dotnet add package bunit --version 1.0.0-beta-10
<PackageReference Include="bunit" Version="1.0.0-beta-10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.0.0-beta-10
#r "nuget: bunit, 1.0.0-beta-10"
#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.0.0-beta-10&prerelease

// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.0.0-beta-10&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, inject services, mock JavaScript interopt, and perform snapshot testing.

NOTE: This version includes support for xUnit as the general-purpose test framework. In other words, installing this package is equivalent to installing the packages "bunit.core", "bunit.web", and "bunit.xunit".

If you prefer Nunit or MSTest, just install the “bunit.core” and “bunit.web” packages.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

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 (14)

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 Core 3.1, .NET Framework 4.7.2 and .NET Standard 2.0.
Version Downloads Last updated
1.10.14 6,763 9/16/2022
1.10.13-preview 61 9/16/2022
1.9.8 167,572 6/7/2022
1.9.7-preview 1,461 5/26/2022
1.9.1-preview 597 5/21/2022
1.8.15 28,883 5/19/2022
1.7.7 34,852 4/29/2022
1.6.4 162,192 2/22/2022
1.5.12 19,467 2/15/2022
1.4.15 97,466 12/18/2021
1.3.42 83,828 11/9/2021
1.3.38-preview 138 11/9/2021
1.3.35-preview 7,272 10/20/2021
1.3.30-preview 1,168 10/15/2021
1.2.49 109,806 8/9/2021
1.2.49-preview 229 8/7/2021
1.2.36-preview 4,418 6/25/2021
1.2.35-preview 170 6/24/2021
1.2.28-preview 1,552 5/26/2021
1.2.27-preview 280 5/22/2021
1.2.26-preview.gd07edb4207 151 5/21/2021
1.1.5 174,296 4/30/2021
1.0.19 26,544 4/11/2021
1.0.16 706 4/11/2021
1.0.0-preview-02 2,046 3/26/2021
1.0.0-preview-01 48,439 12/24/2020
1.0.0-beta-11 33,019 10/26/2020
1.0.0-beta-10 23,035 9/15/2020