3.0.2 • Published 3 years ago
testcafe-reporter-zapi-reporter v3.0.2
testcafe-reporter-zapi-reporter
This is the zapi-reporter reporter plugin for TestCafe.
Install
npm install testcafe-reporter-zapi-reporter
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 zapi-reporter
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('zapi-reporter') // <-
.run();