testcafe-reporter-bitbucket
v0.2.0
Published
TestCafe reporter plugin for Bitbucket pipelines.
Downloads
204
Maintainers
Readme
testcafe-reporter-bitbucket
This is the xUnit reporter plugin for TestCafe compatible with Bitbucket pipelines.
Install
Run the following command.
npm install testcafe-reporter-bitbucket
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 bitbucket
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('bitbucket') // <-
.run();