Module: Autotest::Growl
- Defined in:
- lib/autotest/growl_images.rb
Overview
To use this autotest plugin add the following to your autotest config file (~/.autotest):
require 'autotest/growl_images'
At this moment growlnotify still has a few issues on Leopard. This means that sometimes the notification will show up and sometimes not.
Class Method Summary collapse
- .growl(title, msg, img, pri = 0, sticky = "") ⇒ Object
-
.images_path ⇒ Object
Override this to specify an alternative path to your pass/fail images.
Class Method Details
.growl(title, msg, img, pri = 0, sticky = "") ⇒ Object
24 25 26 |
# File 'lib/autotest/growl_images.rb', line 24 def self.growl(title, msg, img, pri=0, sticky="") system "growlnotify -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{sticky}" end |