Annotation Type Issue
-
@Documented @Inherited @Retention(RUNTIME) @Target(METHOD) @Repeatable(Issues.class) public @interface Issue
This annotation supposed to automatically link failed test items a specific Issue on ReportPortal.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueType (Locator), Short Name (Abbreviation) or Long Name (Defect name) (specified by priority) of an Issue on ReportPortal for the current project.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcommentArbitrary text describing the issue.ExternalIssue[]externalLinks to External System where this issue is located.TestFilter[]filterFor Parameterized and Dynamic tests select certain test for Issue applying using filters by certain criteria.
-
-
-
Element Detail
-
value
java.lang.String value
Type (Locator), Short Name (Abbreviation) or Long Name (Defect name) (specified by priority) of an Issue on ReportPortal for the current project. If there is no such issue found in Project Setting the value will be used "as is" and sent as Issue Type (Locator).- Returns:
- Type (Locator), Short Name (Abbreviation) or Long Name (Defect name) of an Issue
-
-
-
external
ExternalIssue[] external
Links to External System where this issue is located.- Returns:
- External Issue describing object
- Default:
- {}
-
-
-
filter
TestFilter[] filter
For Parameterized and Dynamic tests select certain test for Issue applying using filters by certain criteria. Each additional filter applies to the set of tests using logical "AND".- Returns:
- filter list
- Default:
- {}
-
-