This repository is no longer maintained and has been archived. Feel free to browse the code, but please migrate to other solutions.
This is the teamcity reporter plugin for TestCafe.
npm install testcafe-reporter-teamcity
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 teamcity
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('teamcity') // <-
.run();