Annotation Interface LabelAnnotation


Marker annotation. Annotations marked by this annotation will be discovered by Allure and added to test results as a label.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of label.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Th value of label.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • name

      String name
      The name of label. Some build-in names can be found in ResultsUtils. You can also use any custom label name and create mapping for it in Allure Enterprise or Allure 3.
      Returns:
      the name of label to add.
    • value

      String value
      Th value of label. In not specified will take value from value() method of target annotation.
      Returns:
      the value of label to add.
      Default:
      "$$$$$$$$__value__$$$$$$$$"