webdriverio-boneyard / wdio-spec-reporter

A WebdriverIO v4 plugin. Reporter that creates 'spec'-style reports

Home Page:http://webdriver.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WDIO Spec Reporter

Build Status Code Climate Test Coverage dependencies Status


A WebdriverIO plugin to report in spec style.

Spec Reporter

Installation

The easiest way is to keep wdio-spec-reporter as a devDependency in your package.json.

{
  "devDependencies": {
    "wdio-spec-reporter": "~0.1.0"
  }
}

You can simple do it by:

npm install wdio-spec-reporter --save-dev

Instructions on how to install WebdriverIO can be found here.

Configuration

Following code shows the default wdio test runner configuration. Just add 'spec' as reporter to the array.

// wdio.conf.js
module.exports = {
  // ...
  reporters: ['dot', 'spec'],
  // ...
};

Development

All commands can be found in the package.json. The most important are:

Watch changes:

$ npm run watch

Run tests:

$ npm test

# run test with coverage report:
$ npm run test:cover

Build package:

$ npm build

For more information on WebdriverIO see the homepage.

About

A WebdriverIO v4 plugin. Reporter that creates 'spec'-style reports

http://webdriver.io

License:MIT License


Languages

Language:JavaScript 100.0%