Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 306 Bytes
Autotest.add_hook(:initialize) do |at|
at.clear_mappings
at.find_directories = %w(lib test)
at.add_exception("test/helper.rb")
at.add_mapping(/^lib\/.*\.rb$/) do |file, _|
at.files_matching(/^test\/.*_test\.rb$/)
end
at.add_mapping(/^test\/.*_test\.rb$/) do |file, _|
file
end
end
Jump to Line
Something went wrong with that request. Please try again.