This feature is supported since Allure 1.4.1.
Issues are any software problems that are stored in so-called issue trackers. When any of these problems is fixed, a test should be created to prevent it from appearing in the future.
To link a test case or a test suite to such issues, you can use @Issue annotation. Simply specify the issue key as shown below:
@Issue("MYISSUE-1") public void testSomething() { ... }
To add multiple issues, use @Issues annotation:
@Issues({ @Issue("MYISSUE-1"), @Issue("MYISSUE-2") }) public void testSomething() { ... }
You can also use the syntax shown above to annotate test suites instead of separate test cases. In this case, each test case in this test suite will be linked to the issue specified.
To specify the issue tracker URL, use the allure.issues.tracker.pattern property during report generation (either in the allure.properties file or as your build tool property):
allure.issues.tracker.pattern=http://github.com/allure-framework/allure-core/issues/%s
In this pattern, the %s placeholder will be replaced with the issue key from the annotation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4