ConfigMutationTest

Settings for mutation testing

Members

Enums

NewTestCases
enum NewTestCases

How to behave when new test cases are detected.

OldMutant
enum OldMutant

How to behave when mutants have aged.

RemovedTestCases
enum RemovedTestCases

How to behave when test cases are detected of having been removed

Variables

constraint
TestConstraint constraint;
Undocumented in source.
dryRun
bool dryRun;
Undocumented in source.
maxAlive
Nullable!int maxAlive;

Stop after this many alive mutants are found. Only effective if constraint.empty is false.

maxRuntime
Duration maxRuntime;

Max time to run mutation testing.

mutationCompile
ShellCommand mutationCompile;
Undocumented in source.
mutationOrder
MutationOrder mutationOrder;
Undocumented in source.
mutationTestCaseAnalyze
ShellCommand mutationTestCaseAnalyze;
Undocumented in source.
mutationTestCaseBuiltin
TestCaseAnalyzeBuiltin[] mutationTestCaseBuiltin;
Undocumented in source.
mutationTester
ShellCommand[] mutationTester;
Undocumented in source.
mutationTesterRuntime
Nullable!Duration mutationTesterRuntime;
Undocumented in source.
oldMutantsNr
long oldMutantsNr;
Undocumented in source.
onNewTestCases
NewTestCases onNewTestCases;
Undocumented in source.
onOldMutants
OldMutant onOldMutants;
Undocumented in source.
onRemovedTestCases
RemovedTestCases onRemovedTestCases;
Undocumented in source.
pullRequestSeed
long pullRequestSeed;

Seed used when randomly choosing mutants to test in a pull request.

testCommandDir
Path[] testCommandDir;

Find executables in this directory and add them to mutationTester.

testCommandDirFlag
string[] testCommandDirFlag;

Flags to add to all executables found in testCommandDir

testPoolSize
int testPoolSize;

The size of the thread pool which affects how many tests are executed in parallel.

unifiedDiffFromStdin
bool unifiedDiffFromStdin;

If constraints should be read from a unified diff via stdin.

Meta