testcafe-reporter-ctrf-json
v0.0.1
Published
ctrf-json TestCafe reporter plugin.
Downloads
3
Maintainers
Readme
testcafe-reporter-ctrf-json
This is the ctrf-json reporter plugin for TestCafe.
Install
npm install testcafe-reporter-ctrf-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 ctrf-json
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('ctrf-json') // <-
.run();