Skip to content
mutastic

mutastic ignore

Record a decision not to test one mutant. It goes in .mutastic/ignores.yaml with its line and the reason, to commit and review, and lapses when that line changes. --remove takes one back; ignore --prune takes away every one that has lapsed.

Usage

Terminal window
mutastic ignore ID [DIR] [:MODULE] --reason=WHY

The build plugins run the same command, with each option as a mutastic. property of the same name.

Options

--reason=WHY

Why the mutant isn't worth a test: every ignore says.

Gradle-Pmutastic.reason=WHY
Maven-Dmutastic.reason=WHY
Command line--reason=WHY

--remove

Take the mutant's ignore away, so it runs again.

Gradle-Pmutastic.remove
Maven-Dmutastic.remove
Command line--remove

--prune

Take away every ignore whose code has changed.

Gradle-Pmutastic.prune
Maven-Dmutastic.prune
Command line--prune