Project

General

Profile

Actions

Feature #21361

closed

Plugins ui tests rake task

Added by Toshi MARUYAMA about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

From #12822#note-32

diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -171,6 +171,13 @@ DESC
         t.verbose = true
         t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb" 
       end
+
+      desc 'Runs the plugins ui tests.'
+      Rake::TestTask.new :ui => "db:test:prepare" do |t|
+        t.libs << "test" 
+        t.verbose = true
+        t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/ui/**/*_test.rb" 
+      end
     end
   end
 end

Related issues

Related to Redmine - Defect #27067: Missed task for redmine:plugins:testNeeds feedback

Actions
Actions

Also available in: Atom PDF