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:
  • Element Details

    • beforeAll

      String[] beforeAll
      Returns names of methods to be executed in @BeforeAll phase.
      Returns:
      Names of methods to be executed in @BeforeAll phase.
      Default:
      {}
    • beforeEach

      String[] beforeEach
      Returns names of methods to be executed in @BeforEach phase.
      Returns:
      Names of methods to be executed in @BeforeEach phase.
      Default:
      {}
    • value

      String[] value
      Returns names of methods to be executed in @Test phase.
      Returns:
      Names of methods to be executed in @Test phase.
      Default:
      {}
    • afterEach

      String[] afterEach
      Returns names of methods to be executed in @AfterEach phase.
      Returns:
      Names of methods to be executed in @AfterEach phase.
      Default:
      {}
    • afterAll

      String[] afterAll
      Returns names of methods to be executed in @AfterAll phase.
      Returns:
      Names of methods to be executed in @AfterAll phase.
      Default:
      {}
    • planExecutionWith

      PlanningStrategy planExecutionWith

      Resolves the dependencies automatically.

      If enabled, scenes depended on by scenes specified in value are automatically included in beforeAll at execution.

      Note that, scenes depended on by ones in value but depending on another in value will be included in value not in beforeAll at execution.

      Returns:
      PASSTHROUGH execute actions as specified / DEPENDENCY_BASED_DEFAULT execute actions based on dependency.
      See Also:
      Default:
      PASSTHROUGH