testcafe-reporter-bitbucket

This is the xUnit reporter plugin for TestCafe compatible with Bitbucket pipelines.

preview

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();