D20Tek.Blazor.TestHost
1.1.1
Install-Package D20Tek.Blazor.TestHost -Version 1.1.1
dotnet add package D20Tek.Blazor.TestHost --version 1.1.1
<PackageReference Include="D20Tek.Blazor.TestHost" Version="1.1.1" />
paket add D20Tek.Blazor.TestHost --version 1.1.1
#r "nuget: D20Tek.Blazor.TestHost, 1.1.1"
// Install D20Tek.Blazor.TestHost as a Cake Addin
#addin nuget:?package=D20Tek.Blazor.TestHost&version=1.1.1
// Install D20Tek.Blazor.TestHost as a Cake Tool
#tool nuget:?package=D20Tek.Blazor.TestHost&version=1.1.1
TestHost implementation for Blazor components and pages so that you can unit test any type of Blazor component. Runs through the various component lifecycle events, and renders the final html for the Blazor component.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.1
- Fizzler.Systems.HtmlAgilityPack (>= 1.2.1)
- Microsoft.AspNetCore.Components (>= 3.1.4)
- Microsoft.AspNetCore.Components.Authorization (>= 3.1.4)
- Microsoft.AspNetCore.Components.Web (>= 3.1.4)
- Microsoft.Extensions.DependencyInjection (>= 3.1.4)
- RichardSzalay.MockHttp (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added Authentication and Authorization helper classes to make it easier to write unit tests for authenicated components and pages.
Initial build of the Blazor.TestHost. Making it easier to test your Blazor components end to end.
This is a nuget package of the unit testing sample from https://github.com/SteveSandersonMS/BlazorUnitTestingPrototype.