mix juggernaut.survivors (Juggernaut v0.4.0)

Copy Markdown View Source

Lists the survivors (and NoCoverage mutants) of a recorded run, core first. It reports; it does not gate. When more survivors exist than fit on the page, the output says so and names the command for the next page (the agent document's page.next): nothing is silently cut. Timeouts count as survivors when the run was scored with timeouts: :survived, as in its gate (a run recorded before the setting was kept uses .juggernaut.exs as it is now). With --format github every survivor is printed as an annotation (no grouping or paging).

mix juggernaut.survivors [--run RUN] [--group-by module|file|operator]
  [--page N] [--per-page N] [--core-only] [--format human|agent|markdown|github]

Options

  • --run RUN - Run id, latest or latest~N. Default: latest.
  • --group-by module|file|operator - Grouping. Default: file.
  • --format human|agent|markdown|github - Output format. Default: human. Or set JUGGERNAUT_FORMAT.
  • --page N - Page to show. Default: 1.
  • --per-page N - Survivors per page. Default: 20.
  • --core-only - Only survivors in core files and modules.

Exit codes

  • 0 - listed (whatever the survivors)
  • 2 - unknown run, invalid .juggernaut.exs, or another usage error