Package org.junit.vintage.engine
Class Constants
- java.lang.Object
-
- org.junit.vintage.engine.Constants
-
@API(status=STABLE, since="5.12") public final class Constants extends java.lang.ObjectCollection of constants related to theVintageTestEngine.- Since:
- 5.12
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARALLEL_CLASS_EXECUTIONIndicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.static java.lang.StringPARALLEL_EXECUTION_ENABLEDIndicates whether parallel execution is enabled for the JUnit Vintage engine.static java.lang.StringPARALLEL_METHOD_EXECUTIONIndicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.static java.lang.StringPARALLEL_POOL_SIZESpecifies the size of the thread pool to be used for parallel execution.
-
Constructor Summary
Constructors Modifier Constructor Description privateConstants()
-
-
-
Field Detail
-
PARALLEL_EXECUTION_ENABLED
@API(status=MAINTAINED, since="5.13.3") public static final java.lang.String PARALLEL_EXECUTION_ENABLEDIndicates whether parallel execution is enabled for the JUnit Vintage engine.Set this property to
trueto enable parallel execution of tests. Defaults tofalse.- Since:
- 5.12
- See Also:
- Constant Field Values
-
PARALLEL_POOL_SIZE
@API(status=MAINTAINED, since="5.13.3") public static final java.lang.String PARALLEL_POOL_SIZESpecifies 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:
- Constant Field Values
-
PARALLEL_CLASS_EXECUTION
@API(status=MAINTAINED, since="5.13.3") public static final java.lang.String PARALLEL_CLASS_EXECUTIONIndicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.Set this property to
trueto enable parallel execution of test classes. Defaults tofalse.- Since:
- 5.12
- See Also:
- Constant Field Values
-
PARALLEL_METHOD_EXECUTION
@API(status=MAINTAINED, since="5.13.3") public static final java.lang.String PARALLEL_METHOD_EXECUTIONIndicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.Set this property to
trueto enable parallel execution of test methods. Defaults tofalse.- Since:
- 5.12
- See Also:
- Constant Field Values
-
-