summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/redmine.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index 76752cc91..db574df16 100644
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -161,6 +161,7 @@ DESC
Rake::Task["redmine:plugins:test:units"].invoke
Rake::Task["redmine:plugins:test:functionals"].invoke
Rake::Task["redmine:plugins:test:integration"].invoke
+ Rake::Task["redmine:plugins:test:system"].invoke
end
namespace :test do
@@ -182,6 +183,12 @@ DESC
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"]
end
+ desc 'Runs the plugins system tests.'
+ task :system => "db:test:prepare" do |t|
+ $: << "test"
+ Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/system/**/*_test.rb"]
+ end
+
desc 'Runs the plugins ui tests.'
task :ui => "db:test:prepare" do |t|
$: << "test"