java.lang.Object
org.junit.vintage.engine.Constants
Collection of constants related to the
VintageTestEngine
.- Since:
- 5.12
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.static final String
Indicates whether parallel execution is enabled for the JUnit Vintage engine.static final String
Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.static final String
Specifies the size of the thread pool to be used for parallel execution. -
Method Summary
-
Field Details
-
PARALLEL_EXECUTION_ENABLED
Indicates whether parallel execution is enabled for the JUnit Vintage engine.Set this property to
true
to enable parallel execution of tests. Defaults tofalse
.- Since:
- 5.12
- See Also:
-
PARALLEL_POOL_SIZE
Specifies the size of the thread pool to be used for parallel execution.Set this property to an integer value to specify the number of threads to be used for parallel execution. Defaults to the number of available processors.
- Since:
- 5.12
- See Also:
-
PARALLEL_CLASS_EXECUTION
Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.Set this property to
true
to enable parallel execution of test classes. Defaults tofalse
.- Since:
- 5.12
- See Also:
-
PARALLEL_METHOD_EXECUTION
Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.Set this property to
true
to enable parallel execution of test methods. Defaults tofalse
.- Since:
- 5.12
- See Also:
-