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.
logCoverage
NamedType!(bool, Tag!"LogCoverage", bool.init, TagStringable) logCoverage;

If the generated coverage files should be saved.

logSchemata
bool logSchemata;

If the schematas should 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.

minMutantsPerSchema
NamedType!(long, Tag!"MinMutantsPerSchema", long.init, TagStringable) minMutantsPerSchema;

Minimum number of mutants per schema for it to be used.

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.
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.

useCoverage
NamedType!(bool, Tag!"UseCoverage", bool.init, TagStringable) useCoverage;

If coverage data should be gathered and saved.

useEarlyTestCmdStop
bool useEarlyTestCmdStop;

If early stopping of test command execution should be used

useSchemata
bool useSchemata;

If schematas are used for mutation testing.

userRuntimeCtrl
UserRuntime[] userRuntimeCtrl;

allows a user to control exactly which files the coverage and schemata runtime is injected in.

Meta