This repository has been archived by the owner on Jan 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Test Case ID
Mihails Volkovs edited this page Aug 3, 2015
·
4 revisions
This feature is supported since Allure 1.4.6.
Test Case ID is reference to test case in so-called Test Management System (TMS). It is not allowed to have more than one reference per test case by definition.
To link a test case to Test Management System, you can use @TestCaseId annotation. Simply specify the test case ID as shown below:
@TestCaseId("TMS-1")
public void testSomething() {
...
}
To specify TMS URL, use the allure.tests.management.pattern property during HTML report generation (either in the allure.properties file or as your build tool property):
- JVM property:
-Dallure.tests.management.pattern=http://tms.company.com/tests/%s
- CI server Allure plugin configuration (supported at least in Jenkins)
- allure.properties:
allure.tests.management.pattern=http://tms.yourcompany.com/tests/%s
In this pattern, the %s placeholder will be replaced with the test case ID 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.