Skip to content

codeclown/wdio-slick-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WDIO Slick Reporter

A slick WebdriverIO reporter intended for local development.

Demo

Gif above was recorded with ttystudio and is not the best quality example of this reporter in action. Here's an example project you can just clone and test to see it in action.

Installation

Install wdio-slick-reporter as a devDependency.

npm install --save-dev wdio-slick-reporter

Configuration

Use like any other reporter. Setting logLevel to silent is recommended, otherwise the reporter output will be broken by extraneous logging done by wdio. Example:

// wdio.conf.js
module.exports = {
  // ...
  reporters: ['slick'],
  logLevel: 'silent',
  // ...
};

Hint: you can easily use this reporter in local development, but it is not best suited for e.g. CI-environments. You can easily toggle between reporters in the config-file. Example:

  reporters: [process.env.CI ? 'spec' : 'slick'],
  logLevel: process.env.CI ? 'debug' : 'silent',

Development

Run tests:

$ npm test

About

A slick WebdriverIO reporter intended for local development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published