testcafe-reporter-spec

Spec TestCafe reporter plugin.

Usage no npm install needed!

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

README

testcafe-reporter-spec

Build Status

This is the Spec reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-spec

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

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

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

Author

Developer Express Inc. (https://devexpress.com)