Patch #31746 » 0001-Add-redmine-plugins-test-system.patch
lib/tasks/redmine.rake | ||
---|---|---|
161 | 161 |
Rake::Task["redmine:plugins:test:units"].invoke |
162 | 162 |
Rake::Task["redmine:plugins:test:functionals"].invoke |
163 | 163 |
Rake::Task["redmine:plugins:test:integration"].invoke |
164 |
Rake::Task["redmine:plugins:test:system"].invoke |
|
164 | 165 |
end |
165 | 166 | |
166 | 167 |
namespace :test do |
... | ... | |
182 | 183 |
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"] |
183 | 184 |
end |
184 | 185 | |
186 |
desc 'Runs the plugins system tests.' |
|
187 |
task :system => "db:test:prepare" do |t| |
|
188 |
$: << "test" |
|
189 |
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/system/**/*_test.rb"] |
|
190 |
end |
|
191 | ||
185 | 192 |
desc 'Runs the plugins ui tests.' |
186 | 193 |
task :ui => "db:test:prepare" do |t| |
187 | 194 |
$: << "test" |