Info
Version: | 2.0.33-preview |
Author(s): | Egil Hansen |
Last Update: | Sunday, July 21, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://bunit.egilhansen.com/ |
NuGet Url: | https://www.nuget.org/packages/bunit |
Install
Install-Package bunit
dotnet add package bunit
paket add bunit
bunit Download (Unzip the "nupkg" after downloading)
Dependencies
net5.0
- bunit.core(>= 1.0.001)
- bunit.web(>= 1.0.001)
- bunit.xunit(>= 1.0.001)
- bunit.core(>= 1.0.001)
- bunit.web(>= 1.0.001)
- bunit.xunit(>= 1.0.001)
Tags
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.