Forum: Ruby on Rails Test Coverage Tool for TDD?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9239e324751b8db551789e5e16689438?d=identicon&s=25 Hunt Jon (Guest)
on 2008-10-11 16:40
(Received via mailing list)
Hi,

I'm learning TDD without using Shoulda or RSpec. When I played with
RSpec, there was a tool to show test coverage visually.

Is there any similar function built-in to Rails Test::Unit?
Or do I need to add it on my own?
What's the recommended tool?

I tried `rake -T test`, but didn't find anything about coverage.


-Jon
6d3c187a8b3ef53b08e3e7e8572c4fea?d=identicon&s=25 Jeremy McAnally (Guest)
on 2008-10-11 17:02
(Received via mailing list)
Yup, it's called rcov: http://eigenclass.org/hiki.rb?rcov

--Jeremy

On Sat, Oct 11, 2008 at 9:40 AM, Hunt Jon <jona.hunt777@gmail.com>
wrote:
> I tried `rake -T test`, but didn't find anything about coverage.
>
>
> -Jon
>
> >
>



--
http://jeremymcanally.com/
http://entp.com/
http://omgbloglol.com

My books:
http://manning.com/mcanally/
http://humblelittlerubybook.com/ (FREE!)
This topic is locked and can not be replied to.