https://github.com/microfocus/srf.reporter.mocha
A Mocha reporter for sending test report data to the Microfocus SRF Cloud
https://github.com/microfocus/srf.reporter.mocha
Last synced: 6 months ago
JSON representation
A Mocha reporter for sending test report data to the Microfocus SRF Cloud
- Host: GitHub
- URL: https://github.com/microfocus/srf.reporter.mocha
- Owner: MicroFocus
- License: mit
- Created: 2017-12-14T09:53:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T11:11:19.000Z (over 7 years ago)
- Last Synced: 2024-04-23T12:39:06.658Z (about 2 years ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Storm Runner Functional reporter for mocha testing framework
### Prerequisites
run `npm install srf.reporter.mocha`
Set the following environment variables:
* SRF_CLIENT_ID - Set your client id, the client id can be obtained from your srf account.
* SRF_CLIENT_SECRET - Set your client secret, the client secret can be obtained from your srf account.
* SRF_REPORTER_URL - Set SRF address for step reporting. (can also be set in reporter options)
### Usage
`mocha --reporter srf.reporter.mocha`
####Reporter Options
* **srfUrl** i.e. https://ftaas-eu1.saas.hpe.com (Caution, url varies between regions)
* **debugReport** **true | false** Reporter logs in verbose mode
Usage example
`mocha --reporter srf.reporter.mocha --reporter-options debugReport=true`