1 | WDIO Dot Reporter
|
2 | =================
|
3 |
|
4 | [![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)
|
5 |
|
6 | ***
|
7 |
|
8 | > A WebdriverIO plugin to report in dot style.
|
9 |
|
10 | ![Dot Reporter](http://webdriver.io/images/dot.png "Dot Reporter")
|
11 |
|
12 | ## Installation
|
13 |
|
14 | The easiest way is to keep `wdio-dot-reporter` as a devDependency in your `package.json`.
|
15 |
|
16 | ```json
|
17 | {
|
18 | "devDependencies": {
|
19 | "wdio-dot-reporter": "~0.0.8"
|
20 | }
|
21 | }
|
22 | ```
|
23 |
|
24 | You can simple do it by:
|
25 |
|
26 | ```bash
|
27 | npm install wdio-dot-reporter --save-dev
|
28 | ```
|
29 |
|
30 | Instructions on how to install `WebdriverIO` can be found [here](http://webdriver.io/guide/getstarted/install.html).
|
31 |
|
32 | ## Configuration
|
33 |
|
34 | Following code shows the default wdio test runner configuration. Just add `'dot'` as reporter
|
35 | to the array.
|
36 |
|
37 | ```js
|
38 | // wdio.conf.js
|
39 | module.exports = {
|
40 | // ...
|
41 | reporters: ['dot'],
|
42 | // ...
|
43 | };
|
44 | ```
|
45 |
|
46 | ## Development
|
47 |
|
48 | All commands can be found in the package.json. The most important are:
|
49 |
|
50 | Watch changes:
|
51 |
|
52 | ```sh
|
53 | $ npm run watch
|
54 | ```
|
55 |
|
56 | Run tests:
|
57 |
|
58 | ```sh
|
59 | $ npm test
|
60 |
|
61 | # run test with coverage report:
|
62 | $ npm run test:cover
|
63 | ```
|
64 |
|
65 | Build package:
|
66 |
|
67 | ```sh
|
68 | $ npm build
|
69 | ```
|
70 |
|
71 | ----
|
72 |
|
73 | For more information on WebdriverIO see the [homepage](http://webdriver.io).
|