Annotation Type BeforeClassSteps


@Target(METHOD) @Deprecated @Retention(RUNTIME) public @interface BeforeClassSteps
Deprecated.
Methods annotated with this hook, will execute before every step in that particular class.

If there is more than one method annotated with @BeforeClassSteps the order of execution is as follows:

  • Hooks which are not filtered by tags.
  • Hooks filtered by tags.
If there is more than one hook of these categories, they are alphabetically sorted based on method names.

  • Element Details

    • tags

      String[] tags
      Deprecated.
      Returns:
      Array of tags to filter which steps the hook executes before based on the tags in the current scenario and spec.
      Default:
      {}
    • tagAggregation

      Operator tagAggregation
      Deprecated.
      Returns:
      OR: if hook should execute for the current execution context (spec and scenario) containing any of the tags provided AND: if hook should execute for the current execution context (spec and scenario) containing all of the tags provided Default is AND
      Default:
      AND