Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (10 sloc) 251 Bytes
module Autotest::CustomTestMatch
Autotest.add_hook :initialize do |at|
at.add_mapping(/test/) do |f, _|
at.files_matching(/_test\.rb$/)
end
at.add_mapping(/lib\/.*/) do |f, _|
at.files_matching(/_test\.rb$/)
end
end
end