testcafe-reporter-json

2.2.0 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    218,699
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.2.0
    218,699
  • 2.1.0
    5,326
  • 2.0.0
    0
  • 1.0.0
    30

Package Sidebar

Install

npm i testcafe-reporter-json

Weekly Downloads

186,627

Version

2.2.0

License

MIT

Unpacked Size

5.12 kB

Total Files

4

Last publish

Collaborators

  • aleks-pro
  • aleksey_popov
  • dmitry-ostashev
  • miherlosev
  • kirovboris
  • alexkamaev