Skip to content

Instantly share code, notes, and snippets.

@alexdreher
alexdreher / rcov.rake
Created November 10, 2010 00:24 — forked from zhengjia/gist:395021
rcov raketask for Rails 3, RSpec 2
# Forked to get it working with Rails 3 and RSpec 2
#
# From http://github.com/jaymcgavren
#
# Save this as rcov.rake in lib/tasks and use rcov:all =>
# to get accurate spec/feature coverage data
#
# Use rcov:rspec or rcov:cucumber
# to get non-aggregated coverage reports for rspec or cucumber separately