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

buildCmdTimeout
Duration buildCmdTimeout;

Timeout to use when compiling.

constraint
TestConstraint constraint;
Undocumented in source.
dryRun
bool dryRun;
Undocumented in source.
logSchemata
bool logSchemata;

If the schematas should additionall be written to a separate file for offline inspection.

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;

In what order to choose mutants to test.

mutationTestCaseAnalyze
ShellCommand[] mutationTestCaseAnalyze;
Undocumented in source.
mutationTestCaseBuiltin
TestCaseAnalyzeBuiltin[] mutationTestCaseBuiltin;
Undocumented in source.
mutationTester
ShellCommand[] mutationTester;
Undocumented in source.
mutationTesterRuntime
Nullable!Duration mutationTesterRuntime;

If the user hard code a timeout for the test suite.

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.

sanityCheckSchemata
bool sanityCheckSchemata;

Sanity check a schemata before it is used.

stopAfterLastSchema
bool stopAfterLastSchema;

Stop mutation testing after the last schemata has been executed

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.

useEarlyTestCmdStop
bool useEarlyTestCmdStop;

If early stopping of test command execution should be used

useSchemata
bool useSchemata;

If schematas are used for mutation testing.

Meta