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 interface
An interface to be implemented by custom loader class forAutotestExecution.Spec
instance. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
Returns names of methods to be executed in@AfterAll
phase.String[]
Returns names of methods to be executed in@AfterEach
phase.String[]
Returns names of methods to be executed in@BeforeAll
phase.String[]
Returns names of methods to be executed in@BeforEach
phase.Resolves the dependencies automatically.String[]
Returns names of methods to be executed in@Test
phase.
-
Element Details
-
beforeAll
String[] beforeAllReturns names of methods to be executed in@BeforeAll
phase.- Returns:
- Names of methods to be executed in
@BeforeAll
phase.
- Default:
{}
-
beforeEach
String[] beforeEachReturns names of methods to be executed in@BeforEach
phase.- Returns:
- Names of methods to be executed in
@BeforeEach
phase.
- Default:
{}
-
value
String[] valueReturns names of methods to be executed in@Test
phase.- Returns:
- Names of methods to be executed in
@Test
phase.
- Default:
{}
-
afterEach
String[] afterEachReturns names of methods to be executed in@AfterEach
phase.- Returns:
- Names of methods to be executed in
@AfterEach
phase.
- Default:
{}
-
afterAll
String[] afterAllReturns names of methods to be executed in@AfterAll
phase.- Returns:
- Names of methods to be executed in
@AfterAll
phase.
- Default:
{}
-
planExecutionWith
PlanningStrategy planExecutionWithResolves the dependencies automatically.
If enabled, scenes depended on by scenes specified in
value
are automatically included inbeforeAll
at execution.Note that, scenes depended on by ones in
value
but depending on another invalue
will be included invalue
not inbeforeAll
at execution.- Returns:
PASSTHROUGH
execute actions as specified /DEPENDENCY_BASED_DEFAULT
execute actions based on dependency.- See Also:
- Default:
PASSTHROUGH
-