Launcher.
org.junit.platform.engine.ConfigurationParameters
| Modifier and Type | Field and Description |
|---|---|
| public static final int | CAPTURE_MAX_BUFFER_DEFAULT
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled. |
| public static final String | CAPTURE_MAX_BUFFER_PROPERTY_NAME
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: Value must be an integer; defaults to 4194304. |
| public static final String | CAPTURE_STDERR_PROPERTY_NAME
Property name used to enable capturing output to By default, output to |
| public static final String | CAPTURE_STDOUT_PROPERTY_NAME
Property name used to enable capturing output to By default, output to |
| public static final String | CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME
Property name used to configure the critical severity of issues encountered during test discovery. |
| public static final String | DEACTIVATE_ALL_LISTENERS_PATTERN
Wildcard pattern which signals that all listeners registered via the
|
| public static final String | DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
Property name used to provide patterns for deactivating
listeners registered via the
If the property value consists solely of an asterisk ( |
| public static final String | DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME
Property name used to configure the phase that critical discovery issues should cause a failure Supported Values Supported values are "discovery" or "execution". |
| public static final String | DRY_RUN_PROPERTY_NAME
Property name used to enable dry-run mode for test execution. |
| public static final String | ENABLE_LAUNCHER_INTERCEPTORS
Property name used to enable support for
By default, interceptor registration is disabled. |
| public static final String | OUTPUT_DIR_PROPERTY_NAME
Property name used to configure the output directory for reporting. |
| public static final String | OUTPUT_DIR_UNIQUE_NUMBER_PLACEHOLDER
Placeholder for use in |
| public static final String | STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME
Property name used to enable or disable stack trace pruning. |
| public static final String | STDERR_REPORT_ENTRY_KEY
Key used to publish captured output to |
| public static final String | STDOUT_REPORT_ENTRY_KEY
Key used to publish captured output to |
| Access | Constructor and Description |
|---|---|
| private |
| CAPTURE_MAX_BUFFER_DEFAULT | back to summary |
|---|---|
| public static final int CAPTURE_MAX_BUFFER_DEFAULT Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
| |
| CAPTURE_MAX_BUFFER_PROPERTY_NAME | back to summary |
|---|---|
| public static final String CAPTURE_MAX_BUFFER_PROPERTY_NAME Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: Value must be an integer; defaults to 4194304.
| |
| CAPTURE_STDERR_PROPERTY_NAME | back to summary |
|---|---|
| public static final String CAPTURE_STDERR_PROPERTY_NAME Property name used to enable capturing output to By default, output to If enabled, the JUnit Platform captures the corresponding output and
publishes it as a | |
| CAPTURE_STDOUT_PROPERTY_NAME | back to summary |
|---|---|
| public static final String CAPTURE_STDOUT_PROPERTY_NAME Property name used to enable capturing output to By default, output to If enabled, the JUnit Platform captures the corresponding output and
publishes it as a | |
| CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME | back to summary |
|---|---|
| public static final String CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME Property name used to configure the critical severity of issues encountered during test discovery. If an engine reports an issue with a severity equal to or higher than
the configured critical severity, its tests will not be executed.
Depending on Supported ValuesSupported values include names of enum constants defined in
If not specified, the default is "error" which corresponds to
| |
| DEACTIVATE_ALL_LISTENERS_PATTERN | back to summary |
|---|---|
| public static final String DEACTIVATE_ALL_LISTENERS_PATTERN Wildcard pattern which signals that all listeners registered via the
| |
| DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME | back to summary |
|---|---|
| public static final String DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME Property name used to provide patterns for deactivating
listeners registered via the
Pattern Matching SyntaxIf the property value consists solely of an asterisk ( Examples
Only listeners registered via the In addition, since execution listeners are registered before the test
run starts, this configuration parameter can only be supplied as a JVM
system property or via the JUnit Platform configuration file but cannot
be supplied in the | |
| DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME | back to summary |
|---|---|
| public static final String DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME Property name used to configure the phase that critical discovery issues should cause a failure Supported ValuesSupported values are "discovery" or "execution". If not specified, the
| |
| DRY_RUN_PROPERTY_NAME | back to summary |
|---|---|
| public static final String DRY_RUN_PROPERTY_NAME Property name used to enable dry-run mode for test execution. When dry-run mode is enabled, no tests will be executed. Instead, all
registered Value must be either
| |
| ENABLE_LAUNCHER_INTERCEPTORS | back to summary |
|---|---|
| public static final String ENABLE_LAUNCHER_INTERCEPTORS Property name used to enable support for
By default, interceptor registration is disabled. Since interceptors are registered before the test run starts, this
configuration parameter can only be supplied as a JVM system property or
via the JUnit Platform configuration file but cannot be supplied in the
| |
| OUTPUT_DIR_PROPERTY_NAME | back to summary |
|---|---|
| public static final String OUTPUT_DIR_PROPERTY_NAME Property name used to configure the output directory for reporting. If set, value must be a valid path that will be created if it doesn't exist. If not set, the default output directory will be determined by the reporting engine based on the current working directory.
| |
| OUTPUT_DIR_UNIQUE_NUMBER_PLACEHOLDER | back to summary |
|---|---|
| public static final String OUTPUT_DIR_UNIQUE_NUMBER_PLACEHOLDER Placeholder for use in This can be used to create a unique output directory for each test run. For example, if multiple forks are used, each fork can be configured to write its output to a separate directory.
| |
| STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME | back to summary |
|---|---|
| public static final String STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME Property name used to enable or disable stack trace pruning. By default, stack trace pruning is enabled.
| |
| STDERR_REPORT_ENTRY_KEY | back to summary |
|---|---|
| public static final String STDERR_REPORT_ENTRY_KEY Key used to publish captured output to | |
| STDOUT_REPORT_ENTRY_KEY | back to summary |
|---|---|
| public static final String STDOUT_REPORT_ENTRY_KEY Key used to publish captured output to | |
| LauncherConstants | back to summary |
|---|---|
| private LauncherConstants() | |