summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-05 22:04:03 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-05 22:04:03 +0000
commit1f2753f513ee7dcc344a5ac653f0a5ba920d7ca5 (patch)
treeaabc5ee586f3e92df57a86c1a5367349794dfe84 /lib/tasks
parent8d87f2337051c5437aa9abcdaa686b705b3b73e2 (diff)
downloadredmine-1f2753f513ee7dcc344a5ac653f0a5ba920d7ca5.tar.gz
redmine-1f2753f513ee7dcc344a5ac653f0a5ba920d7ca5.zip
Add redmine:plugins:test:system task (#31746).
Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@18354 e93f8b46-1217-0410-a6f0-8f06a7374b81
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"