Module org.junit.jupiter.engine
Package org.junit.jupiter.engine.config
Interface JupiterConfiguration
-
- All Known Implementing Classes:
CachingJupiterConfiguration
,DefaultJupiterConfiguration
@API(status=INTERNAL, since="5.4") public interface JupiterConfiguration
- Since:
- 5.4
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionMode
getDefaultClassesExecutionMode()
DisplayNameGenerator
getDefaultDisplayNameGenerator()
ExecutionMode
getDefaultExecutionMode()
TestInstance.Lifecycle
getDefaultTestInstanceLifecycle()
Optional<MethodOrderer>
getDefaultTestMethodOrderer()
Predicate<ExecutionCondition>
getExecutionConditionFilter()
Optional<String>
getRawConfigurationParameter(String key)
<T> Optional<T>
getRawConfigurationParameter(String key, Function<String,T> transformer)
boolean
isExtensionAutoDetectionEnabled()
boolean
isParallelExecutionEnabled()
-
-
-
Field Detail
-
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
static final String DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- See Also:
- Constant Field Values
-
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
static final String PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_EXECUTION_MODE_PROPERTY_NAME
static final String DEFAULT_EXECUTION_MODE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
static final String DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME
static final String EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME
static final String DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEACTIVATE_ALL_CONDITIONS_PATTERN
static final String DEACTIVATE_ALL_CONDITIONS_PATTERN
- See Also:
- Constant Field Values
-
DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME
static final String DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME
static final String DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME
static final String DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
TIMEOUT_MODE_PROPERTY_NAME
static final String TIMEOUT_MODE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRawConfigurationParameter
<T> Optional<T> getRawConfigurationParameter(String key, Function<String,T> transformer)
-
isParallelExecutionEnabled
boolean isParallelExecutionEnabled()
-
isExtensionAutoDetectionEnabled
boolean isExtensionAutoDetectionEnabled()
-
getDefaultExecutionMode
ExecutionMode getDefaultExecutionMode()
-
getDefaultClassesExecutionMode
ExecutionMode getDefaultClassesExecutionMode()
-
getDefaultTestInstanceLifecycle
TestInstance.Lifecycle getDefaultTestInstanceLifecycle()
-
getExecutionConditionFilter
Predicate<ExecutionCondition> getExecutionConditionFilter()
-
getDefaultDisplayNameGenerator
DisplayNameGenerator getDefaultDisplayNameGenerator()
-
getDefaultTestMethodOrderer
Optional<MethodOrderer> getDefaultTestMethodOrderer()
-
-