Annotation Interface AutotestExecution.Spec
- Enclosing class:
AutotestExecution
public static @interface AutotestExecution.Spec
For each attribute in this annotation interface, user can specify names of public, static, and @Named methods that
return Scene instance in the test class.
This interface models the execution requirement made by a tester.
Based on the information that this interface provides, the framework will create a plan, which is modeled by ExecutionPlan.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface to be implemented by custom loader class forAutotestExecution.Specinstance. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Returns names of methods to be executed in@AfterAllphase.String[]Returns names of methods to be executed in@AfterEachphase.String[]Returns names of methods to be executed in@BeforeAllphase.String[]Returns names of methods to be executed in@BeforEachphase.Resolves the dependencies automatically.String[]Returns names of methods to be executed in@Testphase.
-
Element Details
-
beforeAll
String[] beforeAllReturns names of methods to be executed in@BeforeAllphase.- Returns:
- Names of methods to be executed in
@BeforeAllphase.
- Default:
{}
-
beforeEach
String[] beforeEachReturns names of methods to be executed in@BeforEachphase.- Returns:
- Names of methods to be executed in
@BeforeEachphase.
- Default:
{}
-
value
String[] valueReturns names of methods to be executed in@Testphase.- Returns:
- Names of methods to be executed in
@Testphase.
- Default:
{}
-
afterEach
String[] afterEachReturns names of methods to be executed in@AfterEachphase.- Returns:
- Names of methods to be executed in
@AfterEachphase.
- Default:
{}
-
afterAll
String[] afterAllReturns names of methods to be executed in@AfterAllphase.- Returns:
- Names of methods to be executed in
@AfterAllphase.
- Default:
{}
-
planExecutionWith
PlanningStrategy planExecutionWithResolves the dependencies automatically.
If enabled, scenes depended on by scenes specified in
valueare automatically included inbeforeAllat execution.Note that, scenes depended on by ones in
valuebut depending on another invaluewill be included invaluenot inbeforeAllat execution.- Returns:
PASSTHROUGHexecute actions as specified /DEPENDENCY_BASED_DEFAULTexecute actions based on dependency.- See Also:
- Default:
PASSTHROUGH
-