-
Notifications
You must be signed in to change notification settings - Fork 169
Issues
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.
- aShot - WebDriver Screenshot utility. Take screenshots, crop, prettify, compare.
- HTML Elements - A Java framework that provides easy-to-use interaction with page elements in webpage tests.
- Properties - A Java library for populating beans with system environment properties in a simple and convenient way.
- Perspective - API and shell to orchestrate multiple clouds.