Skip to content

Report test results using OSX Notification Center, Growl or notify-send.

License

Notifications You must be signed in to change notification settings

kasra-co/karma-notify-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-notify-reporter

Report test results using OSX Notification Center, Growl or notify-send.

Downloads

Built on top of node-notifier.

By default Notification Center will be used on Mac, notify-send will be used on Linux, and Growl will be used if neither Mac 10.8 or Linux.

Installation

npm install karma-notify-reporter --save-dev

Configuration

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

    // Optional Settings
    notifyReporter: {
      reportEachFailure: true, // Default: false, Will notify on every failed sepc
      reportSuccess: false, // Default: true, Will notify when a suite was successful
    }
  });
};

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

karma start --reporters notify,dots

About

Report test results using OSX Notification Center, Growl or notify-send.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%