14 lines
335 B
Plaintext
14 lines
335 B
Plaintext
Autotest.add_hook :initialize do |at|
|
|
at.add_mapping(%r{^lib/\w.*\.rb}) do
|
|
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
|
end
|
|
|
|
at.add_mapping(%r{^test/rails_root/\w.*}) do
|
|
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
|
end
|
|
|
|
at.add_exception(%r{.svn})
|
|
at.add_exception(%r{.log$})
|
|
at.add_exception(%r{^.autotest$})
|
|
end
|