1.0.0 • Published 5 years ago

testcafe-reporter-spec-errors-summary v1.0.0

Weekly downloads
35
License
MIT
Repository
github
Last release
5 years ago

testcafe-reporter-spec-errors-summary

Build Status

This is the spec-errors-summary reporter plugin for TestCafe. The main difference from built-in spec report is this one shows summary of all error next to test execution result.

Install

npm install testcafe-reporter-spec-errors-summary

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 spec-errors-summary

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

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

Author

Dmitry Kochubey