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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yup, it''s called rcov: eigenclass.org/hiki.rb?rcov --Jeremy On Sat, Oct 11, 2008 at 9:40 AM, Hunt Jon <jona.hunt777-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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 > > > >-- jeremymcanally.com entp.com omgbloglol.com My books: manning.com/mcanally humblelittlerubybook.com (FREE!) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---