public enum ConfigOption extends Enum<ConfigOption>
Enum Constant and Description |
---|
AVOID_CALLS
List of classes no to mutate lines of calls that contain call to
|
CHILD_JVM
Arguments to launch child processes with
|
CLASSPATH
Classpath entries to analyse.
|
CLASSPATH_FILE
Same as classPath above, but in a file.
|
CODE_PATHS
Filter defining paths that should be treated as containing mutable code
|
COVERAGE_THRESHOLD
Line coverage score below which to throw an error
|
DEPENDENCY_DISTANCE
Maximum number of hops from a mutable class to a test
|
EXCLUDED_CLASSES
Filter defining classes to exclude from mutation
|
EXCLUDED_GROUPS
TestNG groupsJUnit categories to exclude
|
EXCLUDED_METHOD
Filter of methods not to be mutated
|
EXCLUDED_TEST_CLASSES
Filter defining test classes to excluded
|
EXPORT_LINE_COVERAGE
Dump per test line coverage to disk
|
FAIL_WHEN_NOT_MUTATIONS
Flag to indicate if an error should be thrown if no mutations found
|
FEATURES
Features to enable/disable
|
FULL_MUTATION_MATRIX
Whether to compute a full mutation matrix.
|
HISTORY_INPUT_LOCATION
Location to read history from for incremental analysis
|
HISTORY_OUTPUT_LOCATION
Location to write history to for incremental analysis
|
INCLUDE_LAUNCH_CLASSPATH
Include launch classpath in analysis
|
INCLUDED_GROUPS
TestNG groups/JUnit categories to include
|
INCLUDED_TEST_METHODS
Test methods that should be included for challenging the mutants
|
JVM_PATH
Path to executable with which to run tests
|
MAX_MUTATIONS_PER_CLASS
Maximum number of mutations to allow per class
|
MAX_SURVIVING
Number of surviving mutants at which to throw an error
|
MUTATION_ENGINE
Mutation engine to use
|
MUTATION_THRESHOLD
Mutation score below which to throw an error
|
MUTATION_UNIT_SIZE
Maximum number of mutations to include within a single unit of analysis.
|
MUTATIONS
Mutation operations to use
|
OUTPUT_FORMATS
Formats in which to output results
|
PLUGIN_CONFIGURATION
Custom properties for plugins
|
REPORT_DIR
The directory to write report sot
|
SKIP_FAILING_TESTS
Ignore failing tests when computing coverage.
|
SOURCE_DIR
Directories to examine to find source files to annotate when generating
report
|
TARGET_CLASSES
Filter defining classes to mutate
|
TEST_FILTER
Filter limiting tests to be considered
|
TEST_PLUGIN
The test plugin to use
|
TEST_STRENGTH_THRESHOLD
Test strength score below which to throw an error
|
THREADS
Number of threads to use
|
TIME_STAMPED_REPORTS
Do/don't create timestamped folders for reports
|
TIMEOUT_CONST
Consant addiotnal period of time to allow before considering a mutation to
have timed out
|
TIMEOUT_FACTOR
Multiple of normal runtime to allow before considering a mutation to have
timed out
|
USE_CLASSPATH_JAR
Communicate classpath using a temporary jar with a classpath manifest.
|
USE_INLINED_CODE_DETECTION
Do/don't attempt to detect inlined code from finally blocks
|
VERBOSE
Flag to indicate if verbose logging should be enabled
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getDefault(Class<T> type) |
String |
getParamName() |
String |
toString() |
static ConfigOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigOption TEST_PLUGIN
public static final ConfigOption REPORT_DIR
public static final ConfigOption TARGET_CLASSES
public static final ConfigOption SOURCE_DIR
public static final ConfigOption MUTATIONS
public static final ConfigOption FEATURES
public static final ConfigOption DEPENDENCY_DISTANCE
public static final ConfigOption CHILD_JVM
public static final ConfigOption TIME_STAMPED_REPORTS
public static final ConfigOption THREADS
public static final ConfigOption TIMEOUT_FACTOR
public static final ConfigOption TIMEOUT_CONST
public static final ConfigOption TEST_FILTER
public static final ConfigOption AVOID_CALLS
public static final ConfigOption EXCLUDED_METHOD
public static final ConfigOption MAX_MUTATIONS_PER_CLASS
public static final ConfigOption VERBOSE
public static final ConfigOption EXCLUDED_CLASSES
public static final ConfigOption EXCLUDED_TEST_CLASSES
public static final ConfigOption OUTPUT_FORMATS
public static final ConfigOption CLASSPATH
public static final ConfigOption CLASSPATH_FILE
public static final ConfigOption FAIL_WHEN_NOT_MUTATIONS
public static final ConfigOption SKIP_FAILING_TESTS
public static final ConfigOption CODE_PATHS
public static final ConfigOption INCLUDED_GROUPS
public static final ConfigOption INCLUDED_TEST_METHODS
public static final ConfigOption EXCLUDED_GROUPS
public static final ConfigOption FULL_MUTATION_MATRIX
public static final ConfigOption MUTATION_UNIT_SIZE
public static final ConfigOption USE_INLINED_CODE_DETECTION
public static final ConfigOption HISTORY_INPUT_LOCATION
public static final ConfigOption HISTORY_OUTPUT_LOCATION
public static final ConfigOption MUTATION_THRESHOLD
public static final ConfigOption TEST_STRENGTH_THRESHOLD
public static final ConfigOption MAX_SURVIVING
public static final ConfigOption COVERAGE_THRESHOLD
public static final ConfigOption MUTATION_ENGINE
public static final ConfigOption EXPORT_LINE_COVERAGE
public static final ConfigOption INCLUDE_LAUNCH_CLASSPATH
public static final ConfigOption JVM_PATH
public static final ConfigOption PLUGIN_CONFIGURATION
public static final ConfigOption USE_CLASSPATH_JAR
public static ConfigOption[] values()
for (ConfigOption c : ConfigOption.values()) System.out.println(c);
public static ConfigOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getParamName()
public <T> T getDefault(Class<T> type)
public String toString()
toString
in class Enum<ConfigOption>
Copyright © 2021 org.pitest. All rights reserved.