Subscribe to RSS

Tag Archives: autotest

RSpec, Autotest, and Gnome-Notify

I’ve taken coldfire’s excellent .autotest and modified it to provide a third state for rspec tests that are still pending.

# vi: ft=ruby   require ‘autotest/redgreen’ require ‘autotest/timestamp’   module Autotest::GnomeNotify def self.notify title, msg, img system "notify-send ‘#{title}’ ‘#{msg}’ -i #{img} -t 1000" end   Autotest.add_hook :ran_command do |at| image_root = "~/.autotest_images" [...]