Annotation Interface Tag


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Repeatable(Tags.class) @LabelAnnotation(name="tag") public @interface Tag
Adds Allure tag metadata to supported test elements.

Users normally apply @Tag to test classes or methods; Java creates the container annotation when several tags are declared on the same element.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the annotation value.
  • Element Details

    • value

      String value
      Returns the annotation value.
      Returns:
      the annotation value