0.0.30 • Published 7 years ago

wdio-test-coverage-reporter v0.0.30

Weekly downloads
98
License
MIT
Repository
github
Last release
7 years ago

WDIO Test Coverage Reporter

[NPM version]

A WebdriverIO reporter plugin to generate test result with custom event in json format to display in html page as test coverage information.

Installation

Simply install npm or yarn:

npm install --save wdio-test-coverage-reporter
yarn add wdio-test-coverage-reporter

package.json will be updated as:

{
  "dependencies": {
    "wdio-test-coverage-reporter": "^1.0.0"
  }
}

It is recommended to install package as devDependencies.

Using

Add 'test-coverage' to the reporters array in your wdio config file.

// sample wdio.conf.js
module.exports = {
  // ...
  reporters: ['dot', 'test-coverage'],
  // ...
};

Reporter Configurations

To use test coverage reporter, please add following option the wdio.conf.js

// sample wdio.conf.js
module.exports = {
  // ...
  reporters: ['dot', 'test-coverage'],
  reporterOptions: {
        'test-coverage':{
            outputDir: './reports'
        }
    },
  // ...
};
0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago