Skip to content

A WebdriverIO plugin. Report results in tap format.

License

Notifications You must be signed in to change notification settings

LKay/wdio-tap-reporter

Repository files navigation

WDIO TAP reporter

npm version npm CircleCI Coverage Status devDependencies Status

A WebdriverIO plugin to report in TAP format style. Output is based on specification for TAP13

Tap Reporter

Installation

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

{
  "devDependencies": {
    "wdio-tap-reporter": "~0.0.4"
  }
}

You can simple do it by:

npm install wdio-tap-reporter --save-dev

or if you are using yarn (which I recommend):

yarn add wdio-tap-reporter -D

Instructions on how to install WebdriverIO can be found here.

Configuration

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

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

Usage

Reporter outputs tests results in the TAP format and thus the output is compatible with any TAP reporter.

Simply pipe the output to reporter you want to use:

wdio | tap-nyan

Nyancat

About

A WebdriverIO plugin. Report results in tap format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published