# File lib/kwala/actions/code_coverage.rb, line 235 def run_test_case_with_rcov(test_file, context) test_file = File.expand_path(test_file) f_out, o_dir = out_file_dir(test_file, @ouput_dir) o_dir = File.expand_path(o_dir) if File.exists?(o_dir) FileUtils.rm_rf(o_dir) end FileUtils.mkdir(o_dir) cmd = "#{RCOV} #{exclude_cmd(context)} -o #{o_dir} #{test_file}" puts cmd if DEBUG system(cmd) end