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