testcafe-reporter-datadog
v1.7.0
Published
Testcafe reporter providing datadog instrumentation
Downloads
22
Readme
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 ([email protected])