macro_rules! dump_test_failure {
($ctx:expr, $reason:expr) => { ... };
($ctx:expr, $reason:expr, $($key:ident = $value:expr),+ $(,)?) => { ... };
}Expand description
Emit a structured error dump with full context for failure triage.
Includes all context fields plus a reason string. Designed for use in test failure paths to maximize reproducibility information.
ⓘ
let ctx = TestContext::new("my_test", 42).with_subsystem("obligation");
dump_test_failure!(ctx, "obligation leak detected", leaked_count = 3);