bunit 1.0.0-preview-01
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.
Install-Package bunit -Version 1.0.0-preview-01
dotnet add package bunit --version 1.0.0-preview-01
<PackageReference Include="bunit" Version="1.0.0-preview-01" />
paket add bunit --version 1.0.0-preview-01
#r "nuget: bunit, 1.0.0-preview-01"
Dependencies
-
.NETStandard 2.1
- bunit.core (>= 1.0.0-preview-01)
- bunit.web (>= 1.0.0-preview-01)
- bunit.xunit (>= 1.0.0-preview-01)
-
net5.0
- bunit.core (>= 1.0.0-preview-01)
- bunit.web (>= 1.0.0-preview-01)
- bunit.xunit (>= 1.0.0-preview-01)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on bunit:
Repository | Stars |
---|---|
stsrki/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
|
|
Garderoben/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.
|
|
shahedc/NetLearnerApp
NetLearner: The Internet Resource Learning Helper built with ASP .NET Core
|
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0-preview-01 | 8,715 | 12/24/2020 |
1.0.0-beta-11 | 11,967 | 10/26/2020 |
1.0.0-beta-10 | 10,718 | 9/15/2020 |