Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "name": "mocha-webdriverio", "version": "0.0.1", "description": "Parallel tests with Mocha and Webdriverio =============", "main": "", "repository": { "type": "git", "url": "git@github.com:saucelabs-sample-test-frameworks/JS-Mocha-WebdriverIO.git" }, "scripts": { "test": "./node_modules/.bin/wdio wdio.conf.js" }, "dependencies": { "webdriverio": "*", "parallel-mocha": "*", "mocha": "*", "bitcoder/wdio-junit-reporter": "*", "chai": "*", "wdio-mocha-framework": "^0.3.10", "wdio-sauce-service": "~0.1" }, "devDependencies": { "bitcoder/wdio-junit-reporter": "*", } |
Info | ||
---|---|---|
| ||
The standard "wdio-junit-reporter" npm package can produce one or more JUnit XML reports. We'll generate the multi report file generation capability. However, the produced JUnit XML contains testcase elements with a non-suitable classname attribute. Since "wdio-junit-reporter" is unable to customize this attribute, we need to make a change so it generates a proper attribute value. This is the reason we're using a forked version from the upstream project. |
...