A slick WebdriverIO reporter intended for local development.
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.
Install wdio-slick-reporter as a devDependency.
npm install --save-dev wdio-slick-reporterUse 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',Run tests:
$ npm test