Skip to main content
bunit.template package icon

bunit.template

A project template for a testing Blazor/Razor components using the bUnit library. 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 easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJSRuntime, and perform snapshot testing. The library's goal is to make it easy to write comprehensive, stable unit tests for Blazor Components/Razor Components. Go to bunit.egilhansen.com to learn more.

Total Downloads
264.1K
264,130
Published
Oct 26, 2020
Latest stable version

Install

.NET CLI
dotnet add package bunit.template --version 1.0.0-beta-11
Package Manager Console
Install-Package bunit.template -Version 1.0.0-beta-11
PackageReference
<PackageReference Include="bunit.template" Version="1.0.0-beta-11" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.