Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 968 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 968 Bytes

testcafe-reporter-screenshot-reporter

Build Status

This is the screenshot-reporter reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-screenshot-reporter

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 screenshot-reporter

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

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

Author

babich-a