WDIO Jasmine Reporter Plugin
This wdio plugin was created based on this.
It was tested on Webdriverio v6 and v7.
Installation
Firstly install in your devdependency
npm install @espekkaya/wdio-jasmine-reporter --save-dev
Configuration
Your wdio.conf.js file should look like this:
import JasmineReporter from '@espekkaya/wdio-jasmine-reporter';
exports.config = {
// ...
reporters: [
JasmineReporter
],
// ...
};
if you want to get aggregate result and save result into a json file;
import JasmineReporter from '@espekkaya/wdio-jasmine-reporter';
exports.config = {
// ...
reporters: [
[JasmineReporter, {
aggregateResultPah: './', // save json file path
isResetResult: false | true, // reset values from json file (default: true)
}],
],
// ...
};
Example of json file;
{"TestStatus":{"PASSED":0,"FAILED":0,"SKIPPED":6}}
For more information on WebdriverIO see the homepage.