testcafe-reporter-network
v1.0.2
Published
TestCafe reporter plugin to logs network calls on the test run.
Downloads
43
Maintainers
Readme
testcafe-reporter-network-reporter
This is the network-reporter reporter plugin for TestCafe.
Install
npm install testcafe-reporter-network-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 network-reporter
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('network-reporter') // <-
.run();
Author
Camilo Manrique