npm.io
3.9.0 • Published 1 year ago

testcafe-reporter-api-reporter

Licence
MIT
Version
3.9.0
Deps
2
Size
24 kB
Vulns
0
Weekly
0

testcafe-reporter-api-reporter

Build Status

This is the api-reporter reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-api-reporter

Required Environment Variables

JIRA

The reporter should be able to read issue keys, infer their issue id, and associate them with a Zephyr execution.

JIRA_USER
JIRA_API_TOKEN

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 api-reporter

When you use API, pass the reporter name to the reporter() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('api-reporter') // <-
    .run();

Author

(https://app.ninjarmm.com)