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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
For each attribute in this annotation interface, user can specify names ofpublic
,static
, and@Named
methods that returnScene
instance in the test class. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies how to execute a test class to which this annotation is attached by default.Class
<? extends AutotestExecution.Spec.Loader> Specifies a class for loading aAutotestExecution.Spec
instance.
-
Element Details
-
executionSpecLoaderClass
Class<? extends AutotestExecution.Spec.Loader> executionSpecLoaderClassSpecifies a class for loading aAutotestExecution.Spec
instance.- Returns:
- A loader class.
- See Also:
- Default:
jp.co.moneyforward.autotest.framework.annotations.AutotestExecution.Spec.Loader.Default.class
-
defaultExecution
AutotestExecution.Spec defaultExecutionSpecifies 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
-