testcafe-reporter-failsafe

Failsafe TestCafe reporter plugin. This plugin can be used within a Maven project which performs integration tests with the apache failsafe plugin.

Usage no npm install needed!

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

README

testcafe-reporter-failsafe

This is a reporter plugin for TestCafe which reports tests within an XML readable by failsafe.

Install

You can install it using

npm install testcafe-reporter-failsafe

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 failsafe

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

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

Author

Sqooba IO (https://sqooba.io)

Based on testcafe-reporter-xunit.