node package manager

karma-growler-reporter

karma-growler-reporter

Report test results using growl (copied from karma-growl-reporter, growly replaced with growl).

Installation

This plugin uses growl, which uses terminal-notifier for Mac OS X, libnotify-bin for Linux and growlnotify for Windows.

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

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-growler-reporter": "~0.1"
  }
}

You can simple do it by:

npm install karma-growler-reporter --save-dev

Configuration

You can filter which message types get pushed to growl.

// karma.conf.js 
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'growler'],
    growlerReporter: {
      types: [
        'error',
        'success',
        'disconnected',
        'failed'
      ]
    },
  });
};

You can pass list of reporters as a CLI argument too:

  karma start --reporters growler ,dots

For more information on Karma see the homepage.