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.

This is a prerelease version of bunit.
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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.0.0-preview-01
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: bunit, 1.0.0-preview-01"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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