bunit 1.0.0-beta-7

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-beta-7
dotnet add package bunit --version 1.0.0-beta-7
<PackageReference Include="bunit" Version="1.0.0-beta-7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit --version 1.0.0-beta-7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GitHub repositories (5+)

Showing the top 5 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.
oqtane/oqtane.framework
Modular Application Framework for Blazor
Blazored/Modal
A JavaScript free modal library for Blazor and Razor Components applications
egil/bUnit
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 easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.
shahedc/NetLearnerApp
NetLearner: The Internet Resource Learning Helper built with ASP .NET Core

Version History

Version Downloads Last updated
1.0.0-beta-7 4,903 5/19/2020
1.0.0-beta-6 9,795 3/1/2020