From 69d92d0f4577ccacadce6e8f4b8dc80b5f696777 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:43:30 +0200 Subject: test tasks for all engines replacing rails standard tests --- lib/tasks/test.rake | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/tasks/test.rake (limited to 'lib') diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake new file mode 100644 index 0000000..3c87b45 --- /dev/null +++ b/lib/tasks/test.rake @@ -0,0 +1,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 -- cgit v1.2.3