Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit
1.3.2
Prefix Reserved
dotnet add package Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit --version 1.3.2
NuGet\Install-Package Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit -Version 1.3.2
<PackageReference Include="Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit" Version="1.3.2" />
<PackageVersion Include="Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit" Version="1.3.2" />
<PackageReference Include="Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit" />
paket add Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit --version 1.3.2
#r "nuget: Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit, 1.3.2"
#:package Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit@1.3.2
#addin nuget:?package=Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit&version=1.3.2
#tool nuget:?package=Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit&version=1.3.2
Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit
Test support for the API Gateway WebSockets transport's connection registry (proposal 0058 OQ23).
Installation
dotnet add package Kanject.Core.Realtime.Provider.AwsApiGateway.TestKit
Targets .NET 9, .NET 10 and .NET 11. It is an xUnit kit, not a test project: your test project brings its own xunit and runner.
What it holds
RealtimeConnectionRegistryContractTests: the xUnit tests everyIRealtimeConnectionRegistrypasses. Derive from it and return your registry fromCreateRegistryAsync(). Core runs it against the DynamoDB registry and the in-memory one; a host's own registry runs it too.InMemoryRealtimeConnectionRegistry: a registry held in memory, for tests and local runs. It never expires anything; the transport checks expiry itself. Register it with.UseInMemoryConnectionRegistry().
public sealed class MyRegistryContract : RealtimeConnectionRegistryContractTests
{
protected override Task<IRealtimeConnectionRegistry> CreateRegistryAsync() =>
Task.FromResult<IRealtimeConnectionRegistry>(new MyRegistry(...));
}
License
Licensed under the Kanject Code Libraries License Agreement (KCLLA); the full text ships in this package as LICENSE.md. Organizations whose trailing-twelve-month gross revenue and total funding raised are each below US$250,000 may use it at no cost under the Free Tier. At or above either threshold a commercial license is required — contact commercial@kanjectbusiness.com.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. net11.0 is compatible. |
-
net10.0
- Kanject.Core.Realtime.Provider.AwsApiGateway (>= 1.3.2)
- xunit (>= 2.9.3)
- Xunit.SkippableFact (>= 1.5.85)
-
net11.0
- Kanject.Core.Realtime.Provider.AwsApiGateway (>= 1.3.2)
- xunit (>= 2.9.3)
- Xunit.SkippableFact (>= 1.5.85)
-
net9.0
- Kanject.Core.Realtime.Provider.AwsApiGateway (>= 1.3.2)
- xunit (>= 2.9.3)
- Xunit.SkippableFact (>= 1.5.85)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Takes Kanject.Core.Realtime.Provider.AwsApiGateway 1.3.2.