| Filename | Latest commit message | Latest commit date |
|---|---|---|
Four CultNetErrorMessage wire round-trip tests (decode the bytes a peer actually receives) proving code+details for selection_invalid, cursor_stale, cursor_invalid, reference_outside_target. A subscription-server round trip proving snapshot and first live change are authorized by the same wire id (R-P). A subscription-server round trip proving a removal under a field-predicate selection is delivered with no exception (R-T(a)). An evaluator test proving an implicitly-typed many reference still refuses an out-of-target edge (R-T(b)). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
| .. | ||
| CultNetCanonicalNumberTests.cs | ||
| CultNetDocumentBindingResolverTests.cs | ||
| CultNetOperationServerTests.cs | ||
| CultNetSchemaServerGroupTests.cs | ||
| CultNetSelectionEvaluatorTests.cs | ||
| CultNetSelectionFixBatchTests.cs | ||
| CultNetSelectionPageTests.cs | ||
| GameCult.Networking.Tests.csproj | ||
| NetworkingTests.cs | ||
| README.md | ||
| SelectionParityVectorTests.cs | ||
GameCult.Networking.Tests
GameCult.Networking.Tests contains NUnit tests for the networking library.
Scope
The tests currently cover:
- AES-GCM encrypt/decrypt round-trips in
Secret - signed session-token validation
- signed session-token tamper detection
- signed session-token expiry handling
Run
dotnet test tests\GameCult.Networking.Tests\GameCult.Networking.Tests.csproj
Adding New Tests
Typical future areas to expand include:
- client reconnect and verify flows
- login and registration integration tests
- malformed message handling
- rate-limiting behavior under concurrency