Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 428 Bytes
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_mapping(%r{^test/.*_test\.rb$}) {|f, _| [f] }
at.add_mapping(%r{^lib/factories-and-workers/(.*)\.rb$}) {|_, m| ["test/#{m[1]}_test.rb"] }
at.add_mapping(%r{^test/.*\.rb$}) { at.files_matching %r{^test/.*_test\.rb$} }
at.add_mapping(%r{^lib/.*\.rb$}) { at.files_matching %r{^test/.*_test\.rb$} }
end