Expand description
Test assertions for supervisor diagnostics.
The functions in this module are intentionally small and panic with direct messages so failing tests point at missing observability facts.
Functionsยง
- assert_
child_ state - Asserts that a child path has the expected lifecycle state.
- assert_
event_ sequences_ increase - Asserts that events were emitted in strict sequence order.
- assert_
journal_ len - Asserts that a journal retained a specific number of events.
- assert_
recorder_ has_ metrics - Asserts that a test recorder saw at least one metric sample.
- assert_
shutdown_ without_ orphaned_ tasks - Asserts that shutdown left no running children.
- assert_
summary_ has_ recent_ events - Asserts that a run summary contains at least one recent event.