bunit 1.0.0-preview-02
See the version list below for details.
Install-Package bunit -Version 1.0.0-preview-02
dotnet add package bunit --version 1.0.0-preview-02
<PackageReference Include="bunit" Version="1.0.0-preview-02" />
paket add bunit --version 1.0.0-preview-02
#r "nuget: bunit, 1.0.0-preview-02"
// Install bunit as a Cake Addin
#addin nuget:?package=bunit&version=1.0.0-preview-02&prerelease
// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.0.0-preview-02&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.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- bunit.core (>= 1.0.0-preview-02)
- bunit.web (>= 1.0.0-preview-02)
- bunit.xunit (>= 1.0.0-preview-02)
-
net5.0
- bunit.core (>= 1.0.0-preview-02)
- bunit.web (>= 1.0.0-preview-02)
- bunit.xunit (>= 1.0.0-preview-02)
NuGet packages (5)
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 |
|
BlazorInteractive
Renders Blazor markup in dotnet-interactive notebooks. |
|
Blazored.Toast.TestExtensions
A testing library to provide helper extensions for Blazored.Toast |
|
Xamariners.UnitTest.Blazor
Package Description |
GitHub repositories (12)
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. The goal is to do more with Blazor, utilizing CSS and keeping Javascript to a bare minimum.
|
|
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
|
|
bUnit-dev/bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
|
Version | Downloads | Last updated |
---|---|---|
1.9.1-preview | 24 | 5/21/2022 |
1.8.15 | 473 | 5/19/2022 |
1.7.7 | 12,253 | 4/29/2022 |
1.6.4 | 66,426 | 2/22/2022 |
1.5.12 | 12,160 | 2/15/2022 |
1.4.15 | 66,631 | 12/18/2021 |
1.3.42 | 56,589 | 11/9/2021 |
1.3.38-preview | 112 | 11/9/2021 |
1.3.35-preview | 5,828 | 10/20/2021 |
1.3.30-preview | 1,077 | 10/15/2021 |
1.2.49 | 92,878 | 8/9/2021 |
1.2.49-preview | 205 | 8/7/2021 |
1.2.36-preview | 4,257 | 6/25/2021 |
1.2.35-preview | 140 | 6/24/2021 |
1.2.28-preview | 1,452 | 5/26/2021 |
1.2.27-preview | 258 | 5/22/2021 |
1.2.26-preview.gd07edb4207 | 126 | 5/21/2021 |
1.1.5 | 112,491 | 4/30/2021 |
1.0.19 | 24,990 | 4/11/2021 |
1.0.16 | 607 | 4/11/2021 |
1.0.0-preview-02 | 2,004 | 3/26/2021 |
1.0.0-preview-01 | 46,021 | 12/24/2020 |
1.0.0-beta-11 | 31,048 | 10/26/2020 |
1.0.0-beta-10 | 21,843 | 9/15/2020 |