@georgecrawfordft/wdio-mocha-framework
v0.2.12-1
Published
A WebdriverIO plugin. Adapter for Mocha testing framework.
Downloads
17
Maintainers
Readme
WDIO Mocha
A WebdriverIO plugin. Adapter for Mocha testing framework.
Installation
The easiest way is to keep wdio-mocha-framework
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-mocha-framework": "~0.1"
}
}
You can simple do it by:
npm install wdio-mocha-framework --save-dev
Instructions on how to install WebdriverIO
can be found here.
Configuration
Following code shows the default wdio test runner configuration...
// wdio.conf.js
module.exports = {
// ...
framework: 'mocha'
mochaOpts: {
ui: 'bdd'
}
// ...
};
mochaOpts
Options
Options will be passed to the Mocha instance. See the full list of Mocha options at http://mochajs.org/
For more information on WebdriverIO see the homepage.