Teach rake to run all python tests as a group

This commit is contained in:
Calen Pennington
2013-09-12 09:37:48 -04:00
parent 02d8b68a9c
commit 2cc793c8eb
2 changed files with 15 additions and 8 deletions

View File

@@ -159,11 +159,16 @@ TEST_TASK_DIRS.each do |dir|
report_dir = report_dir_path(dir)
directory report_dir
task :report_dirs => [REPORT_DIR, report_dir]
task :test => "test_#{dir}"
task 'test:python' => "test_#{dir}"
end
namespace :test do
desc "Run all python tests"
task :python, [:test_id]
end
desc "Run all tests"
task :test, [:test_id] => :test_docs
task :test, [:test_id] => [:test_docs, 'test:python']
desc "Build the html, xml, and diff coverage reports"
task :coverage => :report_dirs do