Razor.Components.Testing.Library 1.0.0-beta-5.1

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 easily 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, head to the Wiki pages: https://github.com/egil/razor-components-testing-library/wiki

Suggested Alternatives

bunit

Additional Details

The package has changed name to bUnit.

This is a prerelease version of Razor.Components.Testing.Library.
Install-Package Razor.Components.Testing.Library -Version 1.0.0-beta-5.1
dotnet add package Razor.Components.Testing.Library --version 1.0.0-beta-5.1
<PackageReference Include="Razor.Components.Testing.Library" Version="1.0.0-beta-5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Razor.Components.Testing.Library --version 1.0.0-beta-5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0-beta-5.1 1,265 1/24/2020
1.0.0-beta-5 431 1/23/2020
1.0.0-beta-4 290 1/2/2020
1.0.0-beta-3 275 12/20/2019
1.0.0-beta-2 218 12/15/2019
1.0.0-beta-1 140 12/13/2019
0.3.0-3.1.0-preview1-01 134 10/17/2019
0.1.0-preview9-19424-4-3 139 9/10/2019
0.1.0-preview9-19424-4-2 141 9/7/2019
0.1.0-preview9-19424-4-1 133 9/5/2019
0.1.0-preview8-19405-7-1 161 8/14/2019
0.1.0-preview7-19365-7-6 153 8/13/2019
0.1.0-preview7-19365-7-2 153 8/7/2019
0.1.0-preview7-19365-7-1 150 8/6/2019