summaryrefslogtreecommitdiff
path: root/lib/tasks/test.rake
blob: 3c87b4538ddddcf374368915daa0b3970ddbebd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace :test do

  Rails::SubTestTask.new(:units => "test:prepare") do |t|
    t.libs << "test"
    t.pattern = '*/test/unit/**/*_test.rb'
  end

  Rails::SubTestTask.new(:functionals => "test:prepare") do |t|
    t.libs << "test"
    t.pattern = '*/test/functional/**/*_test.rb'
  end

  Rails::SubTestTask.new(:integration => "test:prepare") do |t|
    t.libs << "test"
    t.pattern = '*/test/integration/**/*_test.rb'
  end

end