Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 573 Bytes

DEVELOPMENT.md

File metadata and controls

29 lines (20 loc) · 573 Bytes

Development

Local Testing

To test the reporter locally, link it to itself and then run a test with the reporter set:

$ npm link
$ npm link testcafe-reporter-saucelabs
$ npx testcafe chrome tests/integration/sauceswag.ok.test.js --reporter saucelabs

Common Issues

Problem

$ npx testcafe chrome tests/integration/sauceswag.test.js --reporter saucelabs
ERROR The "saucelabs" reporter does not exist. Check the reporter parameter for errors.

Solution

Re-link the package:

npm link && npm link testcafe-reporter-saucelabs