JSON TestCafe reporter plugin.
npm install testcafe-reporter-json
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:
`js
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('json') // <-
.run();
``