Currently, when using karma/testacular, I open up a command line windows and do karma start
. I then generally work in vim, and if I'm working in fullscreen mode I have to tab back to the command window to see the test results when I make changes and save.
I'd like instead to get a system notification showing me if the results of the tests were SUCCESS or FAILURE, each time I save.
Since I work on both linux and windows, I'd like solutions for both cases. A vim plugin instead of a system notification would also be a fine solution, though I haven't been able to find any yet.
Karma supports Growl/GNTP as a reporter, looks like this could work in Windows and Linux.
I did the following which worked on OSX:
Installed Growl
Installed growly
npm install growly
Added growl to karma.conf.js
reporters = ['progress', 'growl'];
Another option if you're using Mountain Lion and OSX Notifications and you don't want to install Growl is to just use the karma-osx-reporter plugin. Works beautifully!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With