Node Growl Mocha
Run growl with mocha tests, MacOS
mocha
is a great testing framework.
It has a flag to use growl notifications. The command to run using the watch feature and growl:
$ mocha --growl --watch
This way you are supposed to be able to run the tests on the background and get notifications through growl.
It took me a second to realize that in order to actually get the notifications you have to install a separate node-growl module from npm
.
There is also a dependency on a gem terminal-notifier
:
$ sudo gem install terminal-notifier