Top Description Fields Constructors Methods
org.junit.vintage.engine

public final Class Constants

extends Object
Class Inheritance
Annotations
@Deprecated
since:6.0
@API
status:DEPRECATED
since:6.0
Static Imports
org.apiguardian.api.API.Status.DEPRECATED, .API.Status.MAINTAINED

Deprecated

since 6.0.

Should only be used temporarily while migrating tests to JUnit Jupiter or another testing framework with native JUnit Platform support

Collection of constants related to the VintageTestEngine.

Field Summary

Modifier and TypeField and Description
public static final String
DISCOVERY_ISSUE_REPORTING_ENABLED_PROPERTY_NAME

Property name used to configure whether the JUnit Vintage engine should report discovery issues such as deprecation notices.

public static final String
PARALLEL_CLASS_EXECUTION

Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.

public static final String
PARALLEL_EXECUTION_ENABLED

Indicates whether parallel execution is enabled for the JUnit Vintage engine.

public static final String
PARALLEL_METHOD_EXECUTION

Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.

public static final String
PARALLEL_POOL_SIZE

Specifies the size of the thread pool to be used for parallel execution.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DISCOVERY_ISSUE_REPORTING_ENABLED_PROPERTY_NAMEback to summary
public static final String DISCOVERY_ISSUE_REPORTING_ENABLED_PROPERTY_NAME

Property name used to configure whether the JUnit Vintage engine should report discovery issues such as deprecation notices.

Set this property to false to disable reporting of discovery issues. Defaults to true.

Annotations
@API
status:MAINTAINED
since:6.0.1
Since
6.0.1
PARALLEL_CLASS_EXECUTIONback to summary
public static final String 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 to false.

Annotations
@API
status:MAINTAINED
since:5.13.3
Since
5.12
PARALLEL_EXECUTION_ENABLEDback to summary
public static final String 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 to false.

Annotations
@API
status:MAINTAINED
since:5.13.3
Since
5.12
PARALLEL_METHOD_EXECUTIONback to summary
public static final String 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 to false.

Annotations
@API
status:MAINTAINED
since:5.13.3
Since
5.12
PARALLEL_POOL_SIZEback to summary
public static final String 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.

Annotations
@API
status:MAINTAINED
since:5.13.3
Since
5.12

Constructor Detail

Constantsback to summary
private Constants()