testcafe-reporter-jira
This is the jira reporter plugin for TestCafe.
Install
npm install testcafe-reporter-jira
Environment Variables:
Set following environment variables on your machine:
JIRA_BASE_URL=baseurl
JIRA_USERNAME=user
JIRA_PASSWORD=password
JIRA_TEST_RUN=runid
Usage
When you run tests from the command line, specify the reporter name by using the --reporter
option:
testcafe chrome 'path/to/test/file.js' --reporter jira
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('jira')
.run();
Author
Robert Kiel