-
Notifications
You must be signed in to change notification settings - Fork 168
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 normally created to prevent it to appear in future.
To link a test case or a test suite to such issues you can use @Issue annotation. Simply specify issue key like 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 syntax show above to annotate test suites instead of separate test cases. In that case each test case of this test suite will be linked to the issue specified.
To specify issue tracker url you should use allure.issues.tracker.pattern property during report generation (either in 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 %s placeholder will be replaced by issue key from 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.