jUnit TestCafe reporter plugin.
npm install testcafe-reporter-junit tag. This allows for better reporting and analysis or repeated test runs.
npm install testcafe-reporter-junit
`
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 junit
`
When you use API, pass the reporter name to the reporter() method:
`js
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('junit') // <-
.run();
``