ConfigMutationTest

Settings for mutation testing

Members

Enums

LoadBehavior
enum LoadBehavior
Undocumented in source.
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.
contCheckTestSuite
NamedType!(bool, Tag!"ContinuesCheckTestSuite", bool.init, TagStringable) contCheckTestSuite;

Continuesly run the test suite to see that the test suite is OK when no mutants are injected.

contCheckTestSuitePeriod
NamedType!(int, Tag!"ContinuesCheckTestSuitePeriod", int.init, TagStringable) contCheckTestSuitePeriod;
Undocumented in source.
dryRun
bool dryRun;
Undocumented in source.
loadBehavior
LoadBehavior loadBehavior;
Undocumented in source.
loadThreshold
NamedType!(double, Tag!"LoadThreshold", double.init, TagStringable) loadThreshold;
Undocumented in source.
maxAlive
Nullable!int maxAlive;

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

maxMemUsage
NamedType!(double, Tag!"MaxMemoryUsage", double.init, TagStringable) maxMemUsage;
Undocumented in source.
maxRuntime
Duration maxRuntime;

Max time to run mutation testing.

maxTestCaseOutput
NamedType!(long, Tag!"MaxTestCaseOutputCaptureMbyte", int.init, TagStringable) maxTestCaseOutput;
Undocumented in source.
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.

oldMutantPercentage
NamedType!(double, Tag!"OldMutantPercentage", double.init, TagStringable) oldMutantPercentage;
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.
testCmdChecksum
NamedType!(bool, Tag!"TestCmdChecksum", bool.init, TagStringable) testCmdChecksum;
Undocumented in source.
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

useSkipMutant
NamedType!(bool, Tag!"UseSkipMutant", bool.init, TagStringable) useSkipMutant;
Undocumented in source.

Meta