bunit.core 1.2.49

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package bunit.core -Version 1.2.49
dotnet add package bunit.core --version 1.2.49
<PackageReference Include="bunit.core" Version="1.2.49" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bunit.core --version 1.2.49
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: bunit.core, 1.2.49"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install bunit.core as a Cake Addin
#addin nuget:?package=bunit.core&version=1.2.49

// Install bunit.core as a Cake Tool
#tool nuget:?package=bunit.core&version=1.2.49
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages (8)

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

Package Downloads

bUnit.web is the web specific parts of bUnit, that enables you to easily test and verify the output of Blazor (web) component.


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, and inject services. bUnit also includes a complete fake implementation of Blazor's authentication and authorization logic, navigation manager, and JSInterop.


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.


A JavaScript interop for Blazor used to detect the browser's screen size and perform Media Query tests. BlazorSize uses the DOM API `matchMedia` to test screen size. BlazorSize was created to allow Blazor components to render adaptively.


Extends Verify (https://github.com/VerifyTests/Verify) to allow Blazor component verification via BUnit.

GitHub repositories (5)

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

Repository Stars
A library to provide access to local storage in Blazor applications
A powerful and customizable modal implementation for Blazor applications.
A library to provide access to session storage in Blazor applications
Blazor browser size interop for matchMedia and browser window size at runtime.
Lightweight Material Theme components for Blazor
Version Downloads Last updated
1.3.35-preview 92 10/20/2021
1.3.30-preview 251 10/15/2021
1.2.49 37,885 8/9/2021
1.2.49-preview 164 8/7/2021
1.2.36-preview 4,273 6/25/2021
1.2.35-preview 108 6/24/2021
1.2.28-preview 3,520 5/26/2021
1.2.27-preview 274 5/22/2021
1.2.26-preview.gd07edb4207 103 5/21/2021
1.1.5 259,372 4/30/2021
1.0.19 34,375 4/11/2021
1.0.16 588 4/11/2021
1.0.0-preview-02 5,654 3/26/2021
1.0.0-preview-01 85,189 12/24/2020
1.0.0-beta-11 51,714 10/26/2020
1.0.0-beta-10 35,535 9/15/2020