cupel-testing 0.1.0

Fluent assertion vocabulary for cupel selection reports
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use cupel::{DiagnosticTraceCollector, TraceDetailLevel};
use cupel_testing::SelectionReportAssertions;

#[test]
fn should_returns_assertion_chain() {
    let collector = DiagnosticTraceCollector::new(TraceDetailLevel::Item);
    let report = collector.into_report();

    // Prove the chain plumbing works: .should() compiles and returns
    // a SelectionReportAssertionChain that borrows the report.
    let _chain = report.should();
}