[rspec-users] RCov

James OBrien james at rapleaf.com
Fri Mar 11 17:55:47 EST 2011

I'm using Rake to run my specs e.g.

task :test do

how can I aspect this to include some sort of coverage report - RCov maybe?

Of course, I could just escape to the command line with something like
system('rcov rspec <files_spec.rb>') but I prefer to solve this
programaticaly since our spec task has filters set up etc which I don't want
to duplicate.

any help appreciated.

it seems the documentation on the RSpec 1 site
http://rspec.info/documentation/tools/rake.html points to a solution that no
longer works in RSpec 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110311/7ae3ae38/attachment.html>

More information about the rspec-users mailing list