client-java icon indicating copy to clipboard operation
client-java copied to clipboard

[Improve] Add @Issue annotation

Open Zahorodnii opened this issue 5 years ago • 0 comments

Create logic for link Issues from java for tests like Allure but with integration JIRA plugin.

reportportal.properties

rp.btsUrl =https://jira.services.com/
rp.issuesUrl = browse
rp.btsProject = EXPL

@Test @Issue("4211") public void test() { }

Where issue value will be EXPL-4211 with issue URL https://jira.services.com/browse/EXPL-4211.

For TestNG implementation can be added Skip Exception while test marked by @Issue annotation or Issue have status OPEN, IN PROGRESS, or add logic for setup status when test will finish throwing Skip Exception.

Zahorodnii avatar Feb 19 '20 12:02 Zahorodnii