bunit.core 1.0.0-preview-01

bUnit.core is the base library that provides support for testing Blazor components. You need to install bUnit.web as well to test web-based Blazor components.

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

NuGet packages (4)

Showing the top 4 NuGet packages that depend on bunit.core:

Package Downloads
bunit.web
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.
bunit.xunit
bUnit.xunit is an xUnit extension for bUnit, that provides a way for xUnit to run bUnit's razor-based tests, as well as other helpful extensions to make the testing experience better if you use xUnit for writing your tests.
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 (3)

Showing the top 3 popular GitHub repositories that depend on bunit.core:

Repository Stars
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.
Material-Blazor/Material.Blazor
Lightweight Material Theme components for Blazor

Version History

Version Downloads Last updated
1.0.0-preview-01 21,669 12/24/2020
1.0.0-beta-11 27,200 10/26/2020
1.0.0-beta-10 19,990 9/15/2020