1.7.0 • Published 7 years ago

testcafe-reporter-datadog v1.7.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

Intro

This is a datadog reporter for instrumentation Testcafe tests to Datadog.

Install

yarn add testcafe-reporter-datadog

Set environment variables DD_* as shown in src/config.js.

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 datadog

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

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

Running tests

yarn test

Author

Nate Kresge (nkresge@quid.com)