Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby, Rails, Rcov put together into a neat Rake task

branch: master

rcov_rails 0.3.1

 - ensure rake db:test:prepare is called on rails 2.3 projects
latest commit 9576b28e85
Matthew Rudy Jacobs authored June 01, 2011
Octocat-spinner-32 lib my assumptions were wrong. May 30, 2011
Octocat-spinner-32 .gitignore Gem This February 25, 2010
Octocat-spinner-32 MIT-LICENSE Create the ultimate Rails and Rcov plugin February 25, 2010
Octocat-spinner-32 README modify the readme August 20, 2010
Octocat-spinner-32 Rakefile rcov_rails 0.3.1 June 01, 2011
Octocat-spinner-32 rcov_rails.gemspec rcov_rails 0.3.1 June 01, 2011
README
RcovRails
=========

A simple "no thoughts required" solution to adding RCOV code coverage to your Rails application.
Just install the plugin, install the RCOV gem, and you're done.
Enjoy.

Example
=======

Install as a Rails 3 Gem:

  $: vim Gemfile

    group :development do
      gem "rcov_rails"
    end

  $: bundle install
  $: rake test:coverage # boom!

Install as a Rails 2.x Plugin:
  
  $: sudo gem install rcov
  $: ruby script/plugin install git://github.com/matthewrudy/rcov_rails
  $: rake test:coverage # boom!
  
Install as a Rails 3.x Plugin: // I suggest you don't do this, as you'll need to add rcov via bundler anyway

  $: sudo gem install rcov
  $: vim Gemfile

    group :development do
      gem "rcov"
    end

  $: bundle install
  $: rails plugin install git://github.com/matthewrudy/rcov_rails
  $: rake test:coverage # boom!
  
Copyright (c) 2010 [Matthew Rudy Jacobs], released under the MIT license
Something went wrong with that request. Please try again.