1.0.0 • Published 7 years ago

testcafe-reporter-st-json v1.0.0

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

testcafe-reporter-st-json

This is the JSON reporter plugin for TestCafe.

Install

npm install testcafe-reporter-st-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 st-json

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

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

Author

1600133971