testcafe-reporter-trx

trx TestCafe reporter plugin.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
testcafe-reporter-trx
1.0.06 years ago6 years agoMinified + gzip package size for testcafe-reporter-trx in KB

Readme

testcafe-reporter-trx
Build Status This is the trx reporter plugin for TestCafe. This uses the node-trx package to create the report in visual studio test report format.

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: ```js testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('trx') // <-
.run();
```