bunit 1.12.6

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

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

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
JSInterop.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on bunit:

Package Downloads
FluentAssertions.BUnit

Extension methods that provide fluent assertions on top of BUnit.

Breakdance.Blazor

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

StoicDreams.TestFramework.Blazor

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

BlazorInteractive

Renders Blazor markup in dotnet-interactive notebooks.

GitHub repositories (14)

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

Repository Stars
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
MudBlazor/MudBlazor
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.
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
dotnetcore/BootstrapBlazor
A set of enterprise-class UI components based on Bootstrap and Blazor
microsoft/fast-blazor
Blazor component library for FluentUI. Microsoft's official wrapper around the FluentUI Web Components for use with .NET 6.0 or higher Blazor applications
Version Downloads Last updated
1.15.5 938 2/4/2023
1.14.4 30,414 1/11/2023
1.13.5 40,400 12/16/2022
1.12.6 114,260 11/8/2022
1.12.4-preview 418 10/26/2022
1.11.7 52,543 10/13/2022
1.10.14 52,969 9/16/2022
1.10.13-preview 137 9/16/2022
1.9.8 248,047 6/7/2022
1.9.7-preview 1,674 5/26/2022
1.9.1-preview 688 5/21/2022
1.8.15 42,490 5/19/2022
1.7.7 46,284 4/29/2022
1.6.4 244,890 2/22/2022
1.5.12 23,868 2/15/2022
1.4.15 126,424 12/18/2021
1.3.42 107,461 11/9/2021
1.3.38-preview 154 11/9/2021
1.3.35-preview 9,002 10/20/2021
1.3.30-preview 1,292 10/15/2021
1.2.49 125,077 8/9/2021
1.2.49-preview 245 8/7/2021
1.2.36-preview 4,504 6/25/2021
1.2.35-preview 189 6/24/2021
1.2.28-preview 1,651 5/26/2021
1.2.27-preview 295 5/22/2021
1.2.26-preview.gd07edb4207 161 5/21/2021
1.1.5 207,130 4/30/2021
1.0.19 27,575 4/11/2021
1.0.16 844 4/11/2021
1.0.0-preview-02 2,071 3/26/2021
1.0.0-preview-01 49,965 12/24/2020
1.0.0-beta-11 34,831 10/26/2020
1.0.0-beta-10 24,702 9/15/2020