@georgecrawfordft/wdio-mocha-framework

0.2.12-1 • Public • Published

WDIO Mocha Build Status Code Climate Test Coverage

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.12-1
    1
    • latest

Version History

Package Sidebar

Install

npm i @georgecrawfordft/wdio-mocha-framework

Weekly Downloads

1

Version

0.2.12-1

License

MIT

Last publish

Collaborators

  • georgecrawfordft