Package io.qameta.allure
Annotation Interface Link
@Documented
@Inherited
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@LinkAnnotation
@Repeatable(Links.class)
public @interface Link
Use this annotation to add some links to results. Usage:
@Link("https://qameta.io")
public void myTest() {
...
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueAlias forname().- Returns:
- the link name.
- Default:
- ""
-
name
String nameName for link, by default url.- Returns:
- the link name.
- Default:
- ""
-
url
String urlUrl for link. By default will search for system property `allure.link.{type}.pattern`, and use it to generate url.- Returns:
- the link url.
- Default:
- ""
-
type
String typeThis type is used for create an icon for link. Also there is few reserved types such as issue and tms.- Returns:
- the link type.
- Default:
- "custom"
-