Crafter.Debug/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf fbb5809aea
test(transport): drive a listening session over loopback
ShouldServeOverQuic runs a Session that listens for real and reaches it
with the client's own transport. It covers:
- the discovery record, and its removal when the Session ends;
- status, call, a mistyped command, get and set, and log --follow
  streaming as entries are logged and ending on time;
- six clients at once, and eight streams at once on one connection;
- a wrong token, a request that isn't JSON, and one over 1 MiB, each
  answered with an error;
- ending the Session with a follower waiting, which is told "shutting
  down" and is not sent a backlog it asked none of;
- a client finding the port dead in milliseconds.

The shutdown reply went missing in 4 runs of 30 until Crafter.Network's
~ClientQUIC let stopped streams finish before closing; 50 of 50 pass
since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:07:09 +01:00
..
ShouldAnswerRequests feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
ShouldDescribeDefaultsAndRequired feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldDiscoverLiveInstances feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
ShouldEvaluateConditions feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldInvokeCommands feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldPauseAndStep feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
ShouldRecordTimeline feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldReportDecodeErrorsWithPaths feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldResolveWatchPaths feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
ShouldRoundTripAggregates feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldRoundTripJson feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldRunClientCommands feat(cli): crafter-debug, the client agents drive an app with 2026-11-01 02:03:38 +01:00
ShouldServeOverQuic test(transport): drive a listening session over loopback 2026-11-01 03:07:09 +01:00
ShouldWaitTraceAndFollow feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00