Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 768 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 768 Bytes

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();