Skip to content
mutastic

mutastic verify

Run one mutant's tests: it passes when they catch it. How a fix is proved: each missed mutant offers it as "done when".

Usage

Terminal window
mutastic verify ID [DIR] [:MODULE]

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

Options

--tests-from=MODULE

Also run this module's tests over what this one's miss: :app, or dependents for every module that depends on it.

Gradle-Pmutastic.testsFrom=MODULE,… or testsFrom = … in mutastic { }
Maven-Dmutastic.testsFrom=MODULE,… or <testsFrom>…</testsFrom> in the plugin's configuration
Command line--tests-from=MODULE

--workers=N

How many workers run side by side; half the cores, from 1 to 4, unless set.

Gradle-Pmutastic.workers=N or workers = … in mutastic { }
Maven-Dmutastic.workers=N or <workers>…</workers> in the plugin's configuration
Command line--workers=N

--confirm-catches

Run each catching test again on its own, to confirm the catch.

Gradle-Pmutastic.confirmCatches or confirmCatches = true in mutastic { }
Maven-Dmutastic.confirmCatches or <confirmCatches>true</confirmCatches> in the plugin's configuration
Command line--confirm-catches

--progress=STYLE

Progress on stderr: a bar on a terminal, counter lines in logs, none for agents.

One of autobarcounternone

Gradle-Pmutastic.progress=STYLE
Maven-Dmutastic.progress=STYLE
Command line--progress=STYLE