testcafe-jira

1.0.0 • Public • Published

testcafe-reporter-jira

This is the Jira-reporter plugin for TestCafe.

Install

npm install testcafe-jira

Usage

In order to use this TestCafe reporter plugin it is necessary to define .env variables at the root of your test project

  • cd into your test project.
  • Edit or create the .env file by adding the following required variables:

JIRA_BASE_URL=test.jira.com
JIRA_USERNAME=username
JIRA_PASSWORD=password
JIRA_PROJECT_KEY=key
JIRA_CUSTOMER=customer
JIRA_ISSUE_TYPE=issuetype
JIRA_PRIORITY=priority

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

Tal Erez

Readme

Keywords

none

Package Sidebar

Install

npm i testcafe-jira

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

9.73 kB

Total Files

9

Last publish

Collaborators

  • talpenguin