JSPM

testcafe-reporter-json

2.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 201910
  • Score
    100M100P100Q180523F
  • License MIT

JSON TestCafe reporter plugin.

Package Exports

  • testcafe-reporter-json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (testcafe-reporter-json) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

testcafe-reporter-json

Build Status

This is the JSON reporter plugin for TestCafe.

preview

Install

This reporter is shipped with TestCafe by default. In most cases, you won't need to install it separately.

However, if you need to install this reporter, you can use the following command.

npm install testcafe-reporter-json

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 json

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

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

Author

Developer Express Inc. (https://devexpress.com)