Socket
Socket
Sign inDemoInstall

wdio-web-reporter

Package Overview
Dependencies
47
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wdio-web-reporter

A WebdriverIO reporter. Report results to a webhook.


Version published
Maintainers
2
Install size
6.17 MB
Created

Readme

Source

WDIO web Reporter

Build Status Code Climate Test Coverage dependencies Status


A WebdriverIO plugin to send webhook with condensed tests results and environment information. For each suite (or feature in cucumber), the total number of failed tests, skipped tests and passed tests are sent). In addition, environment variables are sent which is useful for reporting on CI processes, such as run number or execution environment.

web Reporter

Installation

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

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

You can simple do it by:

npm install wdio-web-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 'web' as reporter to the array.

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

The following options exist:

  • url: The webhook url to where results will be published
  • environment: An array of environmet variables from the execution environment to be sent to the webhook together with the results

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.

Keywords

FAQs

Last updated on 10 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc