qunit_notifier

Run Qunit tests headless and show results on a notification system like Growl/Snarl/Libnorify

Qunit Notifier

Qunit notifier is a notification system for unit tests written with QUnit Library.

To run Qunit Notifier correctly, you must have installed:

  • nodeJS
  • phantomJS
  • npm - Comes with node now
  • Growl, Snarl or Libnotify to display Qunit Notifier notifications
  • With npm $ npm install qunit_notifier
var qnotifier = require('qunit_notifier');
    var path = require('path');
 
qnotifier.configure({
    testPath: path.join(__dirname, 'cases'),
    runner: path.join(__dirname, 'index.html'),
    notifier: 'growl'
});
 
qnotifier.watch();

A example can be found in "example" folder.

You can configure your test runner with some options:

  • testPath: Qunit test cases path
  • runner: Qunit html runner
  • notifier: System notification ("growl","snarl" or "libnotify")
  • theme: Yes, we have some themes! :D ("default","batman","doom","ironman","streetfighter")

In few days... =)