Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/espekkaya/wdio-jasmine-reporter
WebdriverIO Jasmine Reporter Plugin
https://github.com/espekkaya/wdio-jasmine-reporter
Last synced: about 2 months ago
JSON representation
WebdriverIO Jasmine Reporter Plugin
- Host: GitHub
- URL: https://github.com/espekkaya/wdio-jasmine-reporter
- Owner: espekkaya
- License: mit
- Created: 2022-07-22T07:19:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T16:52:00.000Z (about 2 years ago)
- Last Synced: 2024-11-15T22:54:02.796Z (2 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@espekkaya/wdio-jasmine-reporter
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WDIO Mocha Reporter Plugin
This wdio plugin was created based on [this][0].
It was tested on Webdriverio v6 and v7.
## Installation
Firstly install in your devdependency
```bash
npm install @espekkaya/wdio-mocha-reporter --save-dev
```## Configuration
Your wdio.conf.js file should look like this:
```js
import mochaReporter from '@espekkaya/wdio-mocha-reporter';exports.config = {
// ...
reporters: [
mochaReporter
],
// ...
};
```if you want to get aggregate result and save result into a json file;
```js
import mochaReporter from '@espekkaya/wdio-mocha-reporter';exports.config = {
// ...
reporters: [
[mochaReporter, {
aggregateResultPah: './', // save json file path
isResetResult: false | true, // reset values from json file (default: true)
}],
],
// ...
};
```Example of json file;
```json
{"TestStatus":{"PASSED":0,"FAILED":0,"SKIPPED":6}}
```----
For more information on WebdriverIO see the [homepage][1].
[0]: https://github.com/andrewkeig/wdio-cucumber-reporter
[1]: http://webdriver.io