Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 908 Bytes

File metadata and controls

37 lines (26 loc) · 908 Bytes

testcafe-reporter-xray-json

Build Status

This is the xray-json reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-xray-json

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 xray-json

When you use API, pass the reporter name to the reporter() method:

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

Author

mboukhenaif (https://github.com/s1mob)