/testcafe-reporter-sentry

Testcafe reporter for Sentry.io

Primary LanguageJavaScriptMIT LicenseMIT

testcafe-reporter-sentry

Build Status

This is the sentry reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-sentry

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 sentry

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

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

Author

Francois Allard