Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 15 lines (11 sloc) 0.306 kb
77ff324 @jbarnette Halfassed .autotest file.
authored
1 Autotest.add_hook(:initialize) do |at|
2 at.clear_mappings
3 at.find_directories = %w(lib test)
4
5 at.add_exception("test/helper.rb")
6
7 at.add_mapping(/^lib\/.*\.rb$/) do |file, _|
8 at.files_matching(/^test\/.*_test\.rb$/)
9 end
10
11 at.add_mapping(/^test\/.*_test\.rb$/) do |file, _|
12 file
13 end
14 end
Something went wrong with that request. Please try again.