You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.autotest 341B

12345678910111213
  1. Autotest.add_hook :initialize do |at|
  2. at.clear_mappings
  3. at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
  4. at.files_matching %r%^test/#{m[1]}_test.rb$%
  5. end
  6. at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
  7. at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
  8. at.files_matching %r%^test/.*\.rb$%
  9. end
  10. end