Browse Source

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
tags/3.2.0
Toshi MARUYAMA 8 years ago
parent
commit
4eda45bfa6
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      lib/tasks/redmine.rake

+ 7
- 0
lib/tasks/redmine.rake View File

@@ -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

Loading…
Cancel
Save