bunit 1.9.1-preview
See the version list below for details.
dotnet add package bunit --version 1.9.1-preview
NuGet\Install-Package bunit -Version 1.9.1-preview
<PackageReference Include="bunit" Version="1.9.1-preview" />
paket add bunit --version 1.9.1-preview
#r "nuget: bunit, 1.9.1-preview"
// Install bunit as a Cake Addin
#addin nuget:?package=bunit&version=1.9.1-preview&prerelease
// Install bunit as a Cake Tool
#tool nuget:?package=bunit&version=1.9.1-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
JSInterop.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- bunit.core (>= 1.9.1-preview)
- bunit.web (>= 1.9.1-preview)
-
net5.0
- bunit.core (>= 1.9.1-preview)
- bunit.web (>= 1.9.1-preview)
-
net6.0
- bunit.core (>= 1.9.1-preview)
- bunit.web (>= 1.9.1-preview)
-
net7.0
- bunit.core (>= 1.9.1-preview)
- bunit.web (>= 1.9.1-preview)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on bunit:
Package | Downloads |
---|---|
FluentAssertions.BUnit
Extension methods that provide fluent assertions on top of BUnit. |
|
Blazored.Toast.TestExtensions
A testing library to provide helper extensions for Blazored.Toast |
|
Breakdance.Blazor
Breakdance is a testing framework for managing the dangerous dance of shipping public APIs. This package helps generate public API reports for any .NET assembly, and compare them against a prior unit test run. That way, if something in the API surface changed, the unit test will fail. |
|
StoicDreams.TestFramework.Blazor
Extended functionality of Stoic Dreams Test Framework, adding funtionality to handle testing against rendered .razor components for unit and integration testing. |
|
Vertiq.Modules.DiagnosticModule
A highly modular Framework to write Blazor Applications with a husstle free vertical sliced architecture - Easy. Flexible. Focused. |
GitHub repositories (20)
Showing the top 5 popular GitHub repositories that depend on bunit:
Repository | Stars |
---|---|
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.
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
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/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with .NET 6.0 or higher Blazor applications
|
Version | Downloads | Last updated |
---|---|---|
1.20.8 | 8,373 | 5/21/2023 |
1.20.7-preview | 132 | 5/17/2023 |
1.19.14 | 28,956 | 4/26/2023 |
1.18.4 | 146,579 | 2/26/2023 |
1.17.2 | 8,022 | 2/22/2023 |
1.16.2 | 63,555 | 2/7/2023 |
1.15.5 | 8,909 | 2/4/2023 |
1.14.4 | 75,432 | 1/11/2023 |
1.13.5 | 71,621 | 12/16/2022 |
1.12.6 | 178,755 | 11/8/2022 |
1.12.4-preview | 463 | 10/26/2022 |
1.11.7 | 68,714 | 10/13/2022 |
1.10.14 | 66,810 | 9/16/2022 |
1.10.13-preview | 200 | 9/16/2022 |
1.9.8 | 290,197 | 6/7/2022 |
1.9.7-preview | 1,723 | 5/26/2022 |
1.9.1-preview | 705 | 5/21/2022 |
1.8.15 | 48,467 | 5/19/2022 |
1.7.7 | 52,438 | 4/29/2022 |
1.6.4 | 298,280 | 2/22/2022 |
1.5.12 | 25,748 | 2/15/2022 |
1.4.15 | 145,323 | 12/18/2021 |
1.3.42 | 127,809 | 11/9/2021 |
1.3.38-preview | 175 | 11/9/2021 |
1.3.35-preview | 10,157 | 10/20/2021 |
1.3.30-preview | 1,666 | 10/15/2021 |
1.2.49 | 137,982 | 8/9/2021 |
1.2.49-preview | 264 | 8/7/2021 |
1.2.36-preview | 4,554 | 6/25/2021 |
1.2.35-preview | 207 | 6/24/2021 |
1.2.28-preview | 1,707 | 5/26/2021 |
1.2.27-preview | 315 | 5/22/2021 |
1.2.26-preview.gd07edb4207 | 181 | 5/21/2021 |
1.1.5 | 216,607 | 4/30/2021 |
1.0.19 | 28,697 | 4/11/2021 |
1.0.16 | 1,025 | 4/11/2021 |
1.0.0-preview-02 | 2,091 | 3/26/2021 |
1.0.0-preview-01 | 50,905 | 12/24/2020 |
1.0.0-beta-11 | 35,609 | 10/26/2020 |
1.0.0-beta-10 | 26,834 | 9/15/2020 |