UNPKG

wdio-dot-reporter

Version:

A WebdriverIO plugin. Report results in dot format.

74 lines (49 loc) 1.71 kB
WDIO Dot Reporter ================= [![Build Status](https://travis-ci.org/webdriverio/wdio-dot-reporter.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-dot-reporter) [![Code Climate](https://codeclimate.com/github/webdriverio/wdio-dot-reporter/badges/gpa.svg)](https://codeclimate.com/github/webdriverio/wdio-dot-reporter) [![Test Coverage](https://codeclimate.com/github/webdriverio/wdio-dot-reporter/badges/coverage.svg)](https://codeclimate.com/github/webdriverio/wdio-dot-reporter/coverage) [![dependencies Status](https://david-dm.org/webdriverio/wdio-dot-reporter/status.svg)](https://david-dm.org/webdriverio/wdio-dot-reporter) *** > A WebdriverIO plugin to report in dot style. ![Dot Reporter](http://webdriver.io/images/dot.png "Dot Reporter") ## Installation The easiest way is to keep `wdio-dot-reporter` as a devDependency in your `package.json`. ```json { "devDependencies": { "wdio-dot-reporter": "~0.0.8" } } ``` You can simple do it by: ```bash npm install wdio-dot-reporter --save-dev ``` Instructions on how to install `WebdriverIO` can be found [here](http://webdriver.io/guide/getstarted/install.html). ## Configuration Following code shows the default wdio test runner configuration. Just add `'dot'` as reporter to the array. ```js // wdio.conf.js module.exports = { // ... reporters: ['dot'], // ... }; ``` ## Development All commands can be found in the package.json. The most important are: Watch changes: ```sh $ npm run watch ``` Run tests: ```sh $ npm test # run test with coverage report: $ npm run test:cover ``` Build package: ```sh $ npm build ``` ---- For more information on WebdriverIO see the [homepage](http://webdriver.io).