testcafe-reporter-sealights
v1.0.54
Published
sealights TestCafe reporter plugin.
Downloads
399
Readme
testcafe-reporter-sealights
This is the sealights reporter plugin for TestCafe.
Install
npm install testcafe-reporter-sealights
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 sealights
Passing arguments to reporter
Argument for rporter should stats with --sl-
prefix
Example
testcafe chrome test/spec.js --reporter sealights --sl-token sltoken.txt --sl-buildSessionIdFile buildSessionId --sl-testStage 'API Tests' --sl-labId lab1
Working with labId
It id possible to provaide labId only and the bsid will be resolved automaticaly in case execution already opened
testcafe chrome test/spec.js --reporter sealights --sl-token sltoken.txt --sl-testStage 'API Tests' --sl-labId lab1
All reporter arguments
- sl-token - Sealights token
- sl-tokenFile - Path to file contains the Sealights token
- sl-buildSessionId - Sealights build session id
- sl-buildSessionIdFile - Path to file contains the Sealights build session id
- sl-testStage - Test stage current tests are relates to
- sl-labId - Pre-defined Sealights lab-id (optional)
- sl-enforceFullRun - Overrides Sealights recommendations and run all tests (optional)
- sl-proxy - Proxy server (optional)
Author
Sealights