Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.623 kb
require 'autotest/bundler'
#class Autotest::Rspec < Autotest
# remove_method :consolidate_failures
#
# def consolidate_failures(failed)
# filters = new_hash_of_arrays
# failed.each do |spec, trace|
# if trace =~ /\n(\.\/)?(.*_test\.rb):[\d]+:/
# filters[$2] << spec
# end
# end
# return filters
# end
#
#end
Autotest.add_hook(:initialize) {|at|
%w{.git .svn .hg .swp .DS_Store ._* tmp}.each do |exception|
at.add_exception(exception)
end
at.clear_mappings # take out the default (test/test*rb)
at.add_mapping(%r%test/.*_test.rb$%) { |filename, _|
filename
}
}
Jump to Line
Something went wrong with that request. Please try again.