Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.85 KB

index.md

File metadata and controls

21 lines (14 loc) · 1.85 KB

GitHub stars GitHub tag (latest SemVer pre-release) Nuget Gitter GitHub Workflow Status Issues Open

bUnit - a testing library for Blazor Components

bUnit, previously known as Blazor Components Testing Library, is a unit 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 components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.

This library's goal is to make it easy to write comprehensive, stable unit tests for Blazor Components/Razor Components. To see how, go to the Documentation pages.

To browse the source code and provide feedback, head to https://github.com/egil/bunit/.

Contributors

Shout outs and a big thank you to the contributors to this library. Here they are, in alphabetically: