Feature #21361

Plugins ui tests rake task

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

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:3.2.0
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:test Needs feedback

Associated revisions

Revision 14891
Added by Toshi MARUYAMA about 2 years ago

add plugins ui tests rake task (#21361)

Patch by Maria Tikhonova.

History

#1 Updated by Toshi MARUYAMA about 2 years ago

  • Target version set to 3.2.0

#2 Updated by Toshi MARUYAMA about 2 years ago

  • Description updated (diff)

#3 Updated by Toshi MARUYAMA about 2 years ago

  • Status changed from New to Closed

Committed in r14891.

#4 Updated by Toshi MARUYAMA 4 months ago

  • Related to Defect #27067: Missed task for redmine:plugins:test added

Also available in: Atom PDF