bunit.core
1.0.0-beta-11
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.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package bunit.core -Version 1.0.0-beta-11
dotnet add package bunit.core --version 1.0.0-beta-11
<PackageReference Include="bunit.core" Version="1.0.0-beta-11" />
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-beta-11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: bunit.core, 1.0.0-beta-11"
#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.0.0-beta-11&prerelease
// Install bunit.core as a Cake Tool
#tool nuget:?package=bunit.core&version=1.0.0-beta-11&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
-
.NETStandard 2.1
- Microsoft.AspNetCore.Components (>= 3.1.1)
- Microsoft.AspNetCore.Components.Authorization (>= 3.1.1)
- Microsoft.AspNetCore.Components.Web (>= 3.1.1)
- Microsoft.Extensions.Logging (>= 3.1.1)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.1)
-
net5.0
- Microsoft.AspNetCore.Components (>= 5.0.0-rc.2.20475.17)
- Microsoft.AspNetCore.Components.Authorization (>= 5.0.0-rc.2.20475.17)
- Microsoft.AspNetCore.Components.Web (>= 5.0.0-rc.2.20475.17)
- Microsoft.Extensions.Logging (>= 5.0.0-rc.2.20475.5)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0-rc.2.20475.5)
Used By
NuGet packages (4)
Showing the top 4 NuGet packages that depend on bunit.core:
Package | Downloads |
---|---|
bunit.web
bUnit.web is the web specific parts of bUnit, that enables you to easily test and verify the output of Blazor (web) component.
|
|
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, and inject services.
bUnit also includes a complete fake implementation of Blazor's authentication and authorization logic, navigation manager, and
JSInterop.
|
|
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.19 | 568 | 4/11/2021 |
1.0.16 | 91 | 4/11/2021 |
1.0.0-preview-02 | 1,599 | 3/26/2021 |
1.0.0-preview-01 | 38,298 | 12/24/2020 |
1.0.0-beta-11 | 33,693 | 10/26/2020 |
1.0.0-beta-10 | 23,599 | 9/15/2020 |