rickbradley /.autotest

Gives regex support for limiting which test files you want to focus on (nice for huge test suites). % AUTOTEST='user|login|auth.*controller' autotest
Autotest.send(:alias_method, :real_find_files, :find_files)
Autotest.send(:define_method, :find_files) do |*args| 
  real_find_files.select do |k,v| 
     (ENV['AUTOTEST'] and ! ENV['AUTOTEST'].empty?) ?   
        Regexp.new(ENV['AUTOTEST']).match(k) : true
  end
end