Skip to content

Commit 4eda45b

Browse files
committed
add plugins ui tests rake task (#21361)
Patch by Maria Tikhonova. git-svn-id: http://svn.redmine.org/redmine/trunk@14891 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 41c64d1 commit 4eda45b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/tasks/redmine.rake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ DESC
171171
t.verbose = true
172172
t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"
173173
end
174+
175+
desc 'Runs the plugins ui tests.'
176+
Rake::TestTask.new :ui => "db:test:prepare" do |t|
177+
t.libs << "test"
178+
t.verbose = true
179+
t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/ui/**/*_test.rb"
180+
end
174181
end
175182
end
176183
end

0 commit comments

Comments
 (0)