From 19b2af181009acfcb24d156ca350c148630e6787 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 17 May 2009 16:20:25 -0400 Subject: Improve coverage output --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 545993653e..cfae22260a 100644 --- a/Rakefile +++ b/Rakefile @@ -8,8 +8,12 @@ Spec::Rake::SpecTask.new(:coverage) do |t| t.spec_files = ["spec/connections/mysql_connection.rb"] + spec_file_list + t.rcov = true - t.rcov_opts = ['-x', 'spec,gems'] + t.rcov_opts << '--exclude' << "spec,gems" + t.rcov_opts << '--text-summary' + t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse' + t.rcov_opts << '--only-uncovered' end namespace :spec do -- cgit v1.2.3