Skip to content

Perfecto-Quantum/Addon-Jira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addon-Jira

This add-on supports the capbility to skip test if there is an open bug related to it.

How does it work?

In order to connect between the test and Jira bug the user should add tag to the test.
The tag name is @JIRA:{BUG_ID}.
If the Jira tag added befroe the execution the frawork will execute it olny if the Jia bug been closed.

How to use it ?

Install

Add the following dependency to your .pom file
<dependency>
<groupId>com.quantum.addons</groupId>
<artifactId>jira</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

Config

Add your Jira account data to the application.properties
jiraWeb = https://MYJIRA.atlassian.net/
jirauser= myuser
jirapassword = password

Add this listner to the testNG.xml file/
<listener class-name="com.quantum.jiraAPI.jiraListener"/>

Example

@Test(description="CI", groups={"@ci","@JIRA:TEST-2"})
public void testJira() {
getDriver().get("http://nxc.co.il/stab.php");
getDriver().findElement("restet").waitForPresent(30000);
.
The test code
.
.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages