Skip to content

matthewrudy/rcov_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages