bunit 1.9.8
Install-Package bunit -Version 1.9.8
dotnet add package bunit --version 1.9.8
<PackageReference Include="bunit" Version="1.9.8" />
paket add bunit --version 1.9.8
#r "nuget: bunit, 1.9.8"
// Install bunit as a Cake Addin
#addin nuget:?package=bunit&version=1.9.8
// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.9.8
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.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- bunit.core (>= 1.9.8)
- bunit.web (>= 1.9.8)
-
net5.0
- bunit.core (>= 1.9.8)
- bunit.web (>= 1.9.8)
-
net6.0
- bunit.core (>= 1.9.8)
- bunit.web (>= 1.9.8)
-
net7.0
- bunit.core (>= 1.9.8)
- bunit.web (>= 1.9.8)
NuGet packages (6)
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 (13)
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.
|
|
runceel/ReactiveProperty
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.
|
|
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.8 | 74,902 | 6/7/2022 |
1.9.7-preview | 1,416 | 5/26/2022 |
1.9.1-preview | 559 | 5/21/2022 |
1.8.15 | 22,809 | 5/19/2022 |
1.7.7 | 29,776 | 4/29/2022 |
1.6.4 | 134,295 | 2/22/2022 |
1.5.12 | 17,576 | 2/15/2022 |
1.4.15 | 86,719 | 12/18/2021 |
1.3.42 | 75,805 | 11/9/2021 |
1.3.38-preview | 133 | 11/9/2021 |
1.3.35-preview | 6,794 | 10/20/2021 |
1.3.30-preview | 1,161 | 10/15/2021 |
1.2.49 | 104,188 | 8/9/2021 |
1.2.49-preview | 224 | 8/7/2021 |
1.2.36-preview | 4,402 | 6/25/2021 |
1.2.35-preview | 159 | 6/24/2021 |
1.2.28-preview | 1,523 | 5/26/2021 |
1.2.27-preview | 277 | 5/22/2021 |
1.2.26-preview.gd07edb4207 | 145 | 5/21/2021 |
1.1.5 | 154,405 | 4/30/2021 |
1.0.19 | 25,998 | 4/11/2021 |
1.0.16 | 676 | 4/11/2021 |
1.0.0-preview-02 | 2,027 | 3/26/2021 |
1.0.0-preview-01 | 47,780 | 12/24/2020 |
1.0.0-beta-11 | 32,426 | 10/26/2020 |
1.0.0-beta-10 | 22,514 | 9/15/2020 |