view .svn/pristine/bd/bd644e6d1539b3037b05096fa2a2105f3d200ef8.svn-base @ 1386:e4c393cebb1a luisf

Merger from testing branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 24 Sep 2013 16:25:05 +0100
parents 038ba2d95de8
children
line wrap: on
line source
Autotest.add_hook :initialize do |at|
  at.clear_mappings

  at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
    at.files_matching %r%^test/#{m[1]}_test.rb$%
  end

  at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }

  at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
    at.files_matching %r%^test/.*\.rb$%
  end
end