Qunit Notifier
Qunit notifier is a notification system for unit tests written with QUnit Library.
Getting Started
$3
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
$3
* With npm
$ npm install qunit_notifier
$3
``
javascript
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.
$3
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")
$3
In few days... =)