This is the st reporter plugin for TestCafe.
This reporter isn't shipped with TestCafe by default. In most cases, you need to install it separately.
However, if you need to install this reporter, you can use the following command.
npm install testcafe-reporter-st
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 st
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('st') // <-
.run();