summaryrefslogtreecommitdiff
path: root/lib/tasks/test.rake
blob: d96b6258199b4139873d658d18829ba95512ee76 (plain)
1
2
3
4
5
6
7
8
9
10
11
namespace :test do

  [:units, :functionals, :integration].each do |type|
    Rails::SubTestTask.new(type => "test:prepare") do |t|
      t.libs << "test"
      subdir = type.to_s.singularize
      t.pattern = "engines/*/test/#{subdir}/**/*_test.rb"
    end
  end

end