aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-05-17 16:20:25 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-05-17 16:20:25 -0400
commit19b2af181009acfcb24d156ca350c148630e6787 (patch)
tree6e46fb931e92197a8546085f3d3e08e1b7b3f318
parent44743bed5568b3065e4f9da7972e3ea1d0d9e728 (diff)
downloadrails-19b2af181009acfcb24d156ca350c148630e6787.tar.gz
rails-19b2af181009acfcb24d156ca350c148630e6787.tar.bz2
rails-19b2af181009acfcb24d156ca350c148630e6787.zip
Improve coverage output
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
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