README
Installation
Run following command to install package via npm
npm install @verifone/verifone-jira-reporter
How it works?
- It creates a Jira epic for every test run if the epic id is not passed in configuration
- Create bugs for all failed test cases based on the test case severity i.e. the bug report level (configurable)
- Links every bug to the epic
severity values
[critical, high, medium, low, all]
critical
Bugs will be created for tests that are having severity critical
high
Bugs will be created for tests that are having severity [critical | high]
medium
Bugs will be created for tests that are having severity [critical | high | medium]
low
- Bugs will be created for tests that are having severity [critical | high | medium | low]
all
- Bugs will be created for failed tests
Bug Details
It creates bugs for the failed tests after all tests are executed, currently only following details are added for the bug
- Epic - epic id, tool creates a new pic if there is not epic id in configuration
- Summery - Bug summery
- Description - Bug Description along with failed test case details
- Assignee - User to be assigned
- Screenshot - Attaches test failure screenshot
Authentication
Currently this tools supports following two forms of authentication Basic Authentication
and Basic Authentication With API Token
User will require to specify the Jira credentials or token in configuration file
You can configure this reporter in following way to any project
ReportConfig = {
jira:{
autoCreteBugOnTestFailure:true,
host: "https://autodemojira.atlassian.net",
user: "xxxx@xxxx.com",
password: "xxxxx",
projectKey: "PAG" //Unique key for every project
}
}