bunit.web 1.0.0-preview-01

bUnit.web is a testing library for web/HTML-based 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.

This is a prerelease version of bunit.web.
Install-Package bunit.web -Version 1.0.0-preview-01
dotnet add package bunit.web --version 1.0.0-preview-01
<PackageReference Include="bunit.web" 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.web --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.web, 1.0.0-preview-01"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on bunit.web:

Package Downloads
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.
Verify.Bunit
Extends Verify (https://github.com/VerifyTests/Verify) to allow Blazor component verification via BUnit.

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on bunit.web:

Repository Stars
ant-design-blazor/ant-design-blazor
🌈A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
oqtane/oqtane.framework
Modular Application Framework for Blazor
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.
Blazored/Modal
A powerful and customizable modal implementation for Blazor applications.
bitfoundation/bitframework
Full stack dev framework for C# / TypeScript / JavaScript developers

Version History

Version Downloads Last updated
1.0.0-preview-01 21,013 12/24/2020
1.0.0-beta-11 26,500 10/26/2020
1.0.0-beta-10 19,786 9/15/2020