2.1.1 • Published 6 years ago

testcafe-reporter-json-complete v2.1.1

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

testcafe-reporter-json-complete

This is a fork the JSON reporter plugin for TestCafe.

This fork tries to proivde as much information as posible, while beeing compatible with the original testcafe-reporter-json.

There will be come kind of redundancy.

Install

npm install testcafe-reporter-json-complete

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

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

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

Hauke Thorenz (https://github.com/htho/)