classjig::Runner
sys::Obj jig::Runner : jig::FantListener
Runner spawns fant, parses its output, and renders a live status bar with results printed above it. Failures get one line as they happen, with full output and trace held for the summary.
- make
new make(Str[] targets, Str[] tests, Bool quiet := false, Bool? tty := null, OutStream out := Env.cur().out())Create runner; in
quietmode only failures are printed, otherwise a pass/fail line is printed for each test type grouped by pod.- onFail
virtual override Void onFail(Str qname, Str[] output, Str[] trace)- onPass
- onStart
- onStray
- onSummary
virtual override Void onSummary(Int types, Int methods, Int verifies)- passthrough
static Int passthrough(Str flag, Str[] targets)Run fant for
-esor-jswith output passed through as-is.- run
Int run()Run tests and return exit code.
- trimTrace
static Str[] trimTrace(Str[] lines)Strip test harness frames (verify internals, reflection, TestRunner) from a trace, keeping messages and causes.