1.0.1 • Published 4 years ago

testcafe-reporter-jenkins v1.0.1

Weekly downloads
904
License
MIT
Repository
github
Last release
4 years ago

testcafe-reporter-jenkins

npm.io

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