##// END OF EJS Templates
Fixed rake redmine:plugins:test:* not running some tests in subdirectories (#11533)...
Jean-Baptiste Barth -
r9952:8f0947e5783f
parent child
Show More
@@ -97,21 +97,21 namespace :redmine do
97 Rake::TestTask.new :units => "db:test:prepare" do |t|
97 Rake::TestTask.new :units => "db:test:prepare" do |t|
98 t.libs << "test"
98 t.libs << "test"
99 t.verbose = true
99 t.verbose = true
100 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/unit/*_test.rb"]
100 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/unit/**/*_test.rb"]
101 end
101 end
102
102
103 desc 'Runs the plugins functional tests.'
103 desc 'Runs the plugins functional tests.'
104 Rake::TestTask.new :functionals => "db:test:prepare" do |t|
104 Rake::TestTask.new :functionals => "db:test:prepare" do |t|
105 t.libs << "test"
105 t.libs << "test"
106 t.verbose = true
106 t.verbose = true
107 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/functional/*_test.rb"]
107 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/functional/**/*_test.rb"]
108 end
108 end
109
109
110 desc 'Runs the plugins integration tests.'
110 desc 'Runs the plugins integration tests.'
111 Rake::TestTask.new :integration => "db:test:prepare" do |t|
111 Rake::TestTask.new :integration => "db:test:prepare" do |t|
112 t.libs << "test"
112 t.libs << "test"
113 t.verbose = true
113 t.verbose = true
114 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/integration/*_test.rb"]
114 t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"]
115 end
115 end
116 end
116 end
117 end
117 end
General Comments 0
You need to be logged in to leave comments. Login now