diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 16:20:25 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 16:20:25 -0400 |
commit | 19b2af181009acfcb24d156ca350c148630e6787 (patch) | |
tree | 6e46fb931e92197a8546085f3d3e08e1b7b3f318 /Rakefile | |
parent | 44743bed5568b3065e4f9da7972e3ea1d0d9e728 (diff) | |
download | rails-19b2af181009acfcb24d156ca350c148630e6787.tar.gz rails-19b2af181009acfcb24d156ca350c148630e6787.tar.bz2 rails-19b2af181009acfcb24d156ca350c148630e6787.zip |
Improve coverage output
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |