testcafe-reporter-spec-errors-summary

spec-errors-summary TestCafe reporter plugin.

Usage no npm install needed!

<script type="module">
  import testcafeReporterSpecErrorsSummary from 'https://cdn.skypack.dev/testcafe-reporter-spec-errors-summary';
</script>

README

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.

preview

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