Hexalith.FrontComposer.Testing
4.0.1
dotnet add package Hexalith.FrontComposer.Testing --version 4.0.1
NuGet\Install-Package Hexalith.FrontComposer.Testing -Version 4.0.1
<PackageReference Include="Hexalith.FrontComposer.Testing" Version="4.0.1" />
<PackageVersion Include="Hexalith.FrontComposer.Testing" Version="4.0.1" />
<PackageReference Include="Hexalith.FrontComposer.Testing" />
paket add Hexalith.FrontComposer.Testing --version 4.0.1
#r "nuget: Hexalith.FrontComposer.Testing, 4.0.1"
#:package Hexalith.FrontComposer.Testing@4.0.1
#addin nuget:?package=Hexalith.FrontComposer.Testing&version=4.0.1
#tool nuget:?package=Hexalith.FrontComposer.Testing&version=4.0.1
Hexalith.FrontComposer.Testing
Adopter-facing test utilities for rendering generated FrontComposer components with bUnit.
Commands support deterministic success, rejection, immediate timeout, and stall-at-Syncing. Queries and pages accept per-request callbacks with last-write-wins configuration. TestAuthorizationEvaluator is registered as the exact evaluator exposed by the host and fails closed for unknown policies.
TestFaultEvidenceRecorder records bounded, redacted scenario evidence only; it does not inject transport behavior. Use AddFrontComposerTestHostAsync(...) for DuringHostSetup store initialization and pass its optional cancellation token when test setup is cancelable. The synchronous API rejects that mode instead of blocking on async work.
Use FrontComposerTestBase for inheritance-based tests, or call Services.AddFrontComposerTestHost(...) from a BunitContext for composition-based setup. Dispose the returned FrontComposerTestHostBuilder when composing directly so culture settings are restored. The package registers in-memory storage, deterministic tenant and user context, Shell services, command/query/page-loader fakes, loose JS interop defaults, and component assertion helpers without requiring a running app host.
The deterministic fakes are per test host instance. TestCommandService captures redacted dispatch evidence and lifecycle states, TestQueryService supports success and not-modified paths through SucceedWith<T>() and NotModifiedWith<T>(), and TestProjectionPageLoader supports configured pages plus not-modified evidence.
Evidence formatting redacts configured tenant/user values and token, secret, or password keyed values before assertion output. The package public surface is pinned by PublicAPI.Shipped.txt; update that baseline intentionally when adding adopter-facing APIs.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- bunit (>= 2.8.4-preview)
- Hexalith.FrontComposer.Contracts (>= 4.0.1)
- Hexalith.FrontComposer.Shell (>= 4.0.1)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.9)
- Microsoft.AspNetCore.Components.WebAssembly (>= 10.0.9)
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 10.0.9)
- Microsoft.AspNetCore.SignalR.Client (>= 10.0.9)
- Microsoft.FluentUI.AspNetCore.Components (>= 5.0.0-rc.4-26180.1)
- Microsoft.FluentUI.AspNetCore.Components.Icons (>= 5.0.0-rc.4-26180.1)
- Microsoft.IdentityModel.Abstractions (>= 8.19.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.19.1)
- Microsoft.IdentityModel.Logging (>= 8.19.1)
- Microsoft.IdentityModel.Protocols (>= 8.19.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.19.1)
- Microsoft.IdentityModel.Tokens (>= 8.19.1)
- NUlid (>= 1.7.3)
- System.IdentityModel.Tokens.Jwt (>= 8.19.1)
- System.Reactive (>= 7.0.0-rc.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1 | 145 | 7/16/2026 |
| 4.0.0 | 44 | 7/15/2026 |
| 3.2.2 | 77 | 7/14/2026 |
| 3.2.1 | 44 | 7/14/2026 |
| 3.2.0 | 40 | 7/14/2026 |
| 3.1.1 | 48 | 7/14/2026 |
| 3.1.0 | 56 | 7/14/2026 |
| 3.0.0 | 90 | 7/14/2026 |
| 2.0.4 | 104 | 7/12/2026 |
| 2.0.3 | 68 | 7/12/2026 |
| 2.0.2 | 61 | 7/12/2026 |
| 2.0.1 | 56 | 7/12/2026 |
| 2.0.0 | 67 | 7/12/2026 |
| 1.12.0 | 85 | 7/11/2026 |
| 1.11.0 | 53 | 7/11/2026 |
| 1.10.0 | 60 | 7/10/2026 |
| 1.9.3 | 63 | 7/10/2026 |
| 1.9.2 | 67 | 7/9/2026 |
| 1.9.1 | 49 | 7/9/2026 |
| 1.9.0 | 55 | 7/9/2026 |