agui-dotnet-unit-tests

Installation
SKILL.md

AG-UI .NET Unit Tests

Conventions for the tests/*.UnitTests projects. Mined from sdks/dotnet/AGENTS.md and existing tests. An agent gets these wrong by default: asserting on deserialized objects (misses naming bugs), comparing full JSON strings (fragile), using reflection, or skipping the FixtureLoader compatibility pattern.

All commands run from sdks/dotnet/.

Unit-test projects

Project Focus
tests/AGUI.Abstractions.UnitTests/ Event serialization round-trips; backward compat vs TypeScript fixtures (Compatibility/)
tests/AGUI.Protobuf.UnitTests/ Protobuf codec round-trips; JsonElement↔protobuf Value conversion
tests/AGUI.Client.UnitTests/ Client builders, content-negotiation handler, transport, protocol rules
tests/AGUI.Server.UnitTests/ ChatResponseUpdate → AG-UI event conversion
tests/AGUI.Formatting.UnitTests/ SSE event-stream formatter (read/write, media type)
Installs
10
GitHub Stars
20.8K
First Seen
Jun 30, 2026