Package io.qameta.allure
Annotation Interface LabelAnnotation
@Documented
@Inherited
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
@Repeatable(LabelAnnotations.class)
public @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 -
Optional Element Summary
Optional Elements -
Field Summary
Fields
-
Field Details
-
DEFAULT_VALUE
- See Also:
-
-
Element Details
-
name
String nameThe name of label. Some build-in names can be found inResultsUtils. 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 valueTh value of label. In not specified will take value fromvalue()method of target annotation.- Returns:
- the value of label to add.
- Default:
"$$$$$$$$__value__$$$$$$$$"
-