1.0.0 • Published 6 years ago

testcafe-reporter-trx v1.0.0

Weekly downloads
144
License
MIT
Repository
github
Last release
6 years ago

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:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('trx') // <-
    .run();