Reputation: 41189
Is it possible to suppress guard-rspec notifications when all the specs pass? I'd like to get a giant Growl notification when the specs fail, though. Is that possible?
i.e. Does such a setting exist in any part of the stack?
Upvotes: 2
Views: 675
Reputation: 9604
In my version of Growl - the paid version from the Mac App store - which I use with the gntp
gem I am able to configure a Guard
option under the Applications
tab in the Growl settings.
Here you can enable or disable growl notifications for success or failure separately.
There is one implication, if you disable success then you get the following line at the end of your test run where there were no errors:
ERROR: Error sending notification with gntp: Notify failed
For failures you will get a notification as expected.
Upvotes: 5