Expand description
The test report: the suite’s own results, rendered.
The evidence is what the runs already write — test/run.sh’s TSV report for the
behavioural cases and cargo test’s summary lines for the crate — and this module
parses, joins and renders it. It decides nothing about what passed: a case that failed
is a case the runner said failed, and a report that disagreed with the runner would be
worse than no report.
Structs§
- Case
- One behavioural case, as the runner recorded it.
- Crate
Tests - What
cargo testreported, summed over its binaries. - Run
- A whole run: the cases, and what the crate’s own tests said.
Constants§
- SURFACE_
ID - The identity of the surface this report owns.
- SURFACE_
PRODUCER - What produces it, for a reader who has to rebuild it.
- SURFACE_
TITLE - The surface’s title, in a listing.
Functions§
- parse_
cases - Parse the runner’s TSV:
name <TAB> result <TAB> seconds <TAB> phase, one case per line. - parse_
crate_ tests - Read
cargo test’s human output and sum its result lines. - render
- Render the run into its own directory under the generated web root, and declare it.