Report Karma test results using the OSX Notification Center
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

karma-notificationCenter-reporter

Report test results using the OSX Notification Center

Installation

**You must have OSX terminal-notifier installed (https://github.com/alloy/terminal-notifier) for this plugin to work. The easiest way is to keep karma-notificationCenter-reporter as a devDependency in your package.json.

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

You can simple do it by:

npm install karma-notificationCenter-reporter --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'notificationCenter'],
  });
};

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

karma start --reporters notificationCenter

For more information on Karma see the homepage.