mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 07:21:12 +00:00
Add redmine:plugins:test:system task (#31746).
Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@18354 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8d87f23370
commit
1f2753f513
@ -161,6 +161,7 @@ DESC
|
|||||||
Rake::Task["redmine:plugins:test:units"].invoke
|
Rake::Task["redmine:plugins:test:units"].invoke
|
||||||
Rake::Task["redmine:plugins:test:functionals"].invoke
|
Rake::Task["redmine:plugins:test:functionals"].invoke
|
||||||
Rake::Task["redmine:plugins:test:integration"].invoke
|
Rake::Task["redmine:plugins:test:integration"].invoke
|
||||||
|
Rake::Task["redmine:plugins:test:system"].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :test do
|
namespace :test do
|
||||||
@ -182,6 +183,12 @@ DESC
|
|||||||
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"]
|
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc 'Runs the plugins system tests.'
|
||||||
|
task :system => "db:test:prepare" do |t|
|
||||||
|
$: << "test"
|
||||||
|
Rails::TestUnit::Runner.rake_run ["plugins/#{ENV['NAME'] || '*'}/test/system/**/*_test.rb"]
|
||||||
|
end
|
||||||
|
|
||||||
desc 'Runs the plugins ui tests.'
|
desc 'Runs the plugins ui tests.'
|
||||||
task :ui => "db:test:prepare" do |t|
|
task :ui => "db:test:prepare" do |t|
|
||||||
$: << "test"
|
$: << "test"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user