Test Coverage Tool for TDD?


#1

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


#2

Yup, it’s called rcov: http://eigenclass.org/hiki.rb?rcov

–Jeremy

On Sat, Oct 11, 2008 at 9:40 AM, Hunt J. removed_email_address@domain.invalid
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!)