Annotation Interface AutotestExecution


@Retention(RUNTIME) @ExtendWith(AutotestEngine.class) @TestInstance(PER_CLASS) public @interface AutotestExecution
An annotation to let JUnit5 know the class to which this is attached is a test class to be executed by AutotestEngine extension.
  • Element Details

    • executionSpecLoaderClass

      Class<? extends AutotestExecution.Spec.Loader> executionSpecLoaderClass
      Specifies a class for loading a AutotestExecution.Spec instance.
      Returns:
      A loader class.
      See Also:
      Default:
      jp.co.moneyforward.autotest.framework.annotations.AutotestExecution.Spec.Loader.Default.class
    • defaultExecution

      AutotestExecution.Spec defaultExecution
      Specifies how to execute a test class to which this annotation is attached by default.
      Returns:
      An instance that specifies how to execute the test class.
      See Also:
      Default:
      @jp.co.moneyforward.autotest.framework.annotations.AutotestExecution.Spec