2.2.0 • Published 6 years ago
testcafe-reporter-json v2.2.0
testcafe-reporter-json
This is the JSON reporter plugin for TestCafe.
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-jsonUsage
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 jsonWhen 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)