Project

General

Profile

Actions

Feature #21361

closed

Plugins ui tests rake task

Added by Toshi MARUYAMA almost 9 years ago. Updated almost 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 #1

Updated by Toshi MARUYAMA almost 9 years ago

  • Target version set to 3.2.0
Actions #2

Updated by Toshi MARUYAMA almost 9 years ago

  • Description updated (diff)
Actions #3

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Closed

Committed in r14891.

Actions #4

Updated by Toshi MARUYAMA about 7 years ago

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

Also available in: Atom PDF