Skip to main content

Module testing

Module testing 

Source
Expand description

Test utilities for resume and integration testing.

Provides instrumented backends that can simulate crashes, blocking, and call recording — useful for testing crash-and-resume scenarios.

Structs§

CallRecord
CountingBackend
Backend that records all dispatched agent names.
CrashBackend
Backend that calls std::process::exit(1) after N calls.
SharedBackend
Backend with shared state via Arc for resume tests.

Functions§

completed_span_names
read_checkpoint
wait_for_calls