##// 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 97 Rake::TestTask.new :units => "db:test:prepare" do |t|
98 98 t.libs << "test"
99 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 101 end
102 102
103 103 desc 'Runs the plugins functional tests.'
104 104 Rake::TestTask.new :functionals => "db:test:prepare" do |t|
105 105 t.libs << "test"
106 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 108 end
109 109
110 110 desc 'Runs the plugins integration tests.'
111 111 Rake::TestTask.new :integration => "db:test:prepare" do |t|
112 112 t.libs << "test"
113 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 115 end
116 116 end
117 117 end
General Comments 0
You need to be logged in to leave comments. Login now