testcafe-reporter-trx-attachment
v1.0.0
Published
trx TestCafe reporter plugin with attachments.
Downloads
35
Readme
testcafe-reporter-trx
This is the trx reporter plugin for TestCafe.
Install
npm install testcafe-reporter-trx
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 trx
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('trx') // <-
.run();