Kkdev92.StackChan.Gateway.TestKit 0.1.0

Prefix Reserved
dotnet add package Kkdev92.StackChan.Gateway.TestKit --version 0.1.0
                    
NuGet\Install-Package Kkdev92.StackChan.Gateway.TestKit -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kkdev92.StackChan.Gateway.TestKit" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kkdev92.StackChan.Gateway.TestKit" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Kkdev92.StackChan.Gateway.TestKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kkdev92.StackChan.Gateway.TestKit --version 0.1.0
                    
#r "nuget: Kkdev92.StackChan.Gateway.TestKit, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kkdev92.StackChan.Gateway.TestKit@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kkdev92.StackChan.Gateway.TestKit&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Kkdev92.StackChan.Gateway.TestKit&version=0.1.0
                    
Install as a Cake Tool

Kkdev92.StackChan.Gateway.TestKit

Conformance checks against the wire contract, and hand-written fakes.

Verifies that your own host speaks the device contract, against the raw bytes.

  • 13 conformance checks (envelope shape, seq running in order, the per-event byte cap, no Unicode escapes on the wire, and more)
  • SSE reassembly (SseWire)
  • Requests shaped like the device sends them (DeviceRequest, WavFactory)
  • Hand-written fakes that satisfy the contracts (Fakes)
var violations = ConformanceChecks.Run(
    response.Content.Headers.ContentType?.ToString(),
    await response.Content.ReadAsByteArrayAsync(),
    expectedUtf8Texts: ["hello"]);

violations.ShouldBeEmpty();

Its only dependency is Abstractions - it does not depend on a test framework.

Where this package sits

StackChan Gateway SDK provides building blocks for a gateway that converses with an AtomS3R stack-chan. Applications select the speech recognizer, model, capabilities, and other behavior.

Package Role
Kkdev92.StackChan.Gateway.Abstractions The contracts. No NuGet package dependencies
Kkdev92.StackChan.Gateway.Runtime Turn orchestration without HTTP or SSE dependencies
Kkdev92.StackChan.Gateway.Protocol.Atoms3R The wire contract with the device
Kkdev92.StackChan.Gateway.AgentFramework An IAgent backed by Microsoft Agent Framework
Kkdev92.StackChan.Gateway.Providers Shared parts for writing a provider
Kkdev92.StackChan.Gateway.Capabilities Shared parts for writing a capability
Kkdev92.StackChan.Gateway.Diagnostics Fixed components for testing a device connection without external services
Kkdev92.StackChan.Gateway.TestKit Wire-protocol conformance checks and hand-written test fakes

Note: this SDK is under development (0.1.x). The public surface may change before 1.0.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.0 81 8/31/2026