# Copyright (c) 2006-2010 Nick Sieger # See the file LICENSE.txt included with the distribution for # software license details. require File.expand_path('../utils', __FILE__) namespace :ci do namespace :setup do task :testunit do rm_rf ENV["CI_REPORTS"] || "test/reports" test_loader = CI::Reporter.maybe_quote_filename "#{File.dirname(__FILE__)}/test_unit_loader.rb" ENV["TESTOPTS"] = "#{ENV["TESTOPTS"]} #{test_loader}" end end end