setup autotest to load ~/.autotest file and to look for tests with filenames like *_test.rb instead of test_*.rb, in accordance with rails standard
- ~
- rails_plugins
- templated_attribute
- .autotest
| .autotest |
|---|
global_autotest_file = File.expand_path('~/.autotest')
load(global_autotest_file) if File.exists?(global_autotest_file)
class Autotest
def tests_for_file(filename)
Dir['test/**/*_test.rb']
end
end
