Info
| Version: | 26.9.14 |
| Author(s): | melihercan |
| Last Update: | Monday, September 14, 2026 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/melihercan/Blazorme |
| NuGet Url: | https://www.nuget.org/packages/Blazorme.TestHost |
Install
Install-Package Blazorme.TestHost
dotnet add package Blazorme.TestHost
paket add Blazorme.TestHost
Blazorme.TestHost Download (Unzip the "nupkg" after downloading)
Dependencies
net5.0
- Fizzler.Systems.HtmlAgilityPack(>= 1.2.1)
- Microsoft.AspNetCore.Components(>= 5.0.0)
- Microsoft.AspNetCore.Components.Web(>= 3.1.10)
- Microsoft.Extensions.DependencyInjection(>= 3.1.10)
- Microsoft.Extensions.Logging(>= 3.1.10)
- RichardSzalay.MockHttp(>= 6.0.0)
- Fizzler.Systems.HtmlAgilityPack(>= 1.2.1)
- Microsoft.AspNetCore.Components(>= 3.1.10)
- Microsoft.AspNetCore.Components.Web(>= 3.1.10)
- Microsoft.Extensions.DependencyInjection(>= 3.1.10)
- Microsoft.Extensions.Logging(>= 3.1.10)
- RichardSzalay.MockHttp(>= 6.0.0)
Tags
https://blog.stevensanderson.com/2019/08/29/blazor-unit-testing-prototype/
https://github.com/SteveSandersonMS/BlazorUnitTestingPrototype
Note that bUnit grew out of the same prototype and is the actively maintained option; prefer it for new test suites.