testcafe-reporter-liv-report

1.0.28 • Public • Published

testcafe-reporter-liv-report

This is the reporter plugin for TestCafe.

Install

npm install testcafe-reporter-liv-report

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 liv-report
  • cd into your project.
  • Edit or create the .env file by adding the following required variables:
DASHBOARD_URL=http://example.com
DASHBOARD_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
PROJECT_NAME=My_Demo
ENVIRONMENT=Env_name

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

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

Package Sidebar

Install

npm i testcafe-reporter-liv-report

Weekly Downloads

2

Version

1.0.28

License

MIT

Unpacked Size

13.3 kB

Total Files

6

Last publish

Collaborators

  • aman9922