Juggernaut.View.Human (Juggernaut v0.4.0)

Copy Markdown View Source

The human format (design notes §5.1): survivors, each with its diff, the tests that ran and how to re-check it, then a summary with the counts, scores against the thresholds, the measured phase times, the recorded time of reused results, new ignores, triage claims and the gate verdict with the rules that failed. A Lanes row names the mutants killed only by integration tests (Juggernaut.View.integration_only/2), when there are any.

render/2 shows a finished run; Juggernaut.View.Live shows a run as it goes and uses survivor/4 and summary/2 from here. Colour is used only with the ansi option, so output to a file or a pipe has no control sequences.

Options: see Juggernaut.View.

Summary

Functions

A finished run: one page of survivors, then the summary.

The run summary: what ran, the counts, the scores, measured timings, reused results (labelled as recorded, never measured), ignores, triage claims and the verdict.

One survivor: what changed, where, the tests that ran and how to re-check it.

Functions

render(run, opts)

A finished run: one page of survivors, then the summary.

summary(run, opts)

The run summary: what ran, the counts, the scores, measured timings, reused results (labelled as recorded, never measured), ignores, triage claims and the verdict.

survivor(mutant, result, status, opts)

One survivor: what changed, where, the tests that ran and how to re-check it.