NuGet Package bUnit

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.

Info

Version: 1.0.0-beta-11
Author(s): Egil Hansen
Last Update: Monday, October 26, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://bunit.egilhansen.com/
NuGet Url: https://www.nuget.org/packages/bunit


Install
Install-Package bunit
dotnet add package bunit
paket add bunit
bunit Download (Unzip the "nupkg" after downloading)

net5.0 netstandard2.1


Tags



STATS

must-have-score

6

avg-downloads-per-day

137

days-since-last-release

5