Class Constants


  • @API(status=STABLE,
         since="5.12")
    public final class Constants
    extends java.lang.Object
    Collection of constants related to the VintageTestEngine.
    Since:
    5.12
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARALLEL_CLASS_EXECUTION
      Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.
      static java.lang.String PARALLEL_EXECUTION_ENABLED
      Indicates whether parallel execution is enabled for the JUnit Vintage engine.
      static java.lang.String PARALLEL_METHOD_EXECUTION
      Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.
      static java.lang.String PARALLEL_POOL_SIZE
      Specifies the size of the thread pool to be used for parallel execution.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Constants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PARALLEL_EXECUTION_ENABLED

        @API(status=MAINTAINED,
             since="5.13.3")
        public static final java.lang.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.

        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_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:
        Constant Field Values
      • PARALLEL_CLASS_EXECUTION

        @API(status=MAINTAINED,
             since="5.13.3")
        public static final java.lang.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.

        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_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.

        Since:
        5.12
        See Also:
        Constant Field Values
    • Constructor Detail

      • Constants

        private Constants()