Rust edition
mutastic baseline
Record every mutant missed now, so later misses are told from them. Runs the mutants and writes each one missed or not covered, by id, to .mutastic/baseline.yaml in the package's directory, to commit. From then on a miss that isn't in it is new: gate holds only new misses, next offers them first, and run --fail-on-new fails only on them. It's never rewritten to take in new misses: --prune runs the mutants and drops the baseline's that are caught now.
Usage
mutastic baseline [dir] [options]Inside a package, cargo mutastic baseline runs the same command, with the same options.
Exit status
0 when the baseline is written or pruned; 1 when there's one already and --prune isn't given, or --prune is given and there's none. Any command exits 2 when mutastic couldn't run: see exit codes.
Options
--workers=N
How many mutants run side by side; half the cores, from 1 to 4, unless set.
| Command line | --workers=N |
|---|
--operators=OPERATORS
Which operators run: a set (defaults, stronger or extended), or operator ids split by commas, in place of mutastic.yaml's operators; defaults unless set.
| Command line | --operators=OPERATORS |
|---|
--unsafe=MODE
Which unsafe code is mutated: skip leaves unsafe code and the functions holding an unsafe block alone, enclosing mutates those functions too, all unsafe code as well; skip unless set.
One of skipenclosingall
| Command line | --unsafe=MODE |
|---|
--progress=STYLE
Progress on stderr: a bar on a terminal, counter lines in logs, none for agents.
One of autobarcounternone
| Command line | --progress=STYLE |
|---|
--prune
Take away every ignore whose line has changed; with baseline, every mutant the tests catch now.
| Command line | --prune |
|---|
--edition=EDITION
Which edition runs; unless set, the build file in dir, or the nearest above it: Cargo.toml for rust, pom.xml, build.gradle or settings.gradle for java.
One of rustjava
| Command line | --edition=EDITION |
|---|