Can anyone help me find a code coverage tool in ruby? What I want is: given a set of tests that I run, what lines of my code and what routines are covered. And also a list of uncovered routines and tests. I couldn''t find an open source one out there... -- www.kenlet.com
Can anyone help me find a code coverage tool in ruby? What I want is: given a set of tests that I run, what lines of my code and what routines are covered. And also a list of uncovered routines and tests. I couldn''t find an open source one out there... Thanks, Brian -- www.kenlet.com
On Mon, Jan 23, 2006 at 02:53:30PM -0800, Brian Lin wrote:> Can anyone help me find a code coverage tool in ruby? > > What I want is: given a set of tests that I run, what lines of my code > and what routines are covered. And also a list of uncovered routines > and tests. > > I couldn''t find an open source one out there...I''m using the ''coverage'' gem to get the odd bit of statistic. It''s slow as buggery, and isn''t perfect, but it exists and is released under Ruby''s licence. - Matt
cool, thanks, I''ll try it out. On 1/23/06, Matthew Palmer <mpalmer@hezmatt.org> wrote:> On Mon, Jan 23, 2006 at 02:53:30PM -0800, Brian Lin wrote: > > Can anyone help me find a code coverage tool in ruby? > > > > What I want is: given a set of tests that I run, what lines of my code > > and what routines are covered. And also a list of uncovered routines > > and tests. > > > > I couldn''t find an open source one out there... > > I''m using the ''coverage'' gem to get the odd bit of statistic. It''s slow as > buggery, and isn''t perfect, but it exists and is released under Ruby''s > licence. > > - Matt > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- www.kenlet.com
Brian Lin wrote:> Can anyone help me find a code coverage tool in ruby? > > What I want is: given a set of tests that I run, what lines of my code > and what routines are covered. And also a list of uncovered routines > and tests. > > I couldn''t find an open source one out there... > > -- > www.kenlet.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >You could try Ruby Coverage Validator (http://www.softwareverify.com/), if you''re on Windows. I haven''t tried it myself, only Ruby Performance Validator, which is excellent. -- stefan -- For rails performance tuning, see: http://railsexpress.de/blog Subscription: http://railsexpress.de/blog/xml/rss20/feed.xml
gem install insurance It is a lot faster. On 1/24/06, Brian Lin <brianlin@gmail.com> wrote:> cool, thanks, I''ll try it out. > > On 1/23/06, Matthew Palmer <mpalmer@hezmatt.org> wrote: > > On Mon, Jan 23, 2006 at 02:53:30PM -0800, Brian Lin wrote: > > > Can anyone help me find a code coverage tool in ruby? > > > > > > What I want is: given a set of tests that I run, what lines of my code > > > and what routines are covered. And also a list of uncovered routines > > > and tests. > > > > > > I couldn''t find an open source one out there... > > > > I''m using the ''coverage'' gem to get the odd bit of statistic. It''s slow as > > buggery, and isn''t perfect, but it exists and is released under Ruby''s > > licence. > > > > - Matt > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > www.kenlet.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Jon Smirl jonsmirl@gmail.com
Where are the docs on how to use insurance? -- -- Tom Mornini On Jan 23, 2006, at 10:27 PM, Jon Smirl wrote:> gem install insurance > > It is a lot faster. > > On 1/24/06, Brian Lin <brianlin@gmail.com> wrote: >> cool, thanks, I''ll try it out. >> >> On 1/23/06, Matthew Palmer <mpalmer@hezmatt.org> wrote: >>> On Mon, Jan 23, 2006 at 02:53:30PM -0800, Brian Lin wrote: >>>> Can anyone help me find a code coverage tool in ruby? >>>> >>>> What I want is: given a set of tests that I run, what lines of >>>> my code >>>> and what routines are covered. And also a list of uncovered >>>> routines >>>> and tests. >>>> >>>> I couldn''t find an open source one out there... >>> >>> I''m using the ''coverage'' gem to get the odd bit of statistic. >>> It''s slow as >>> buggery, and isn''t perfect, but it exists and is released under >>> Ruby''s >>> licence. >>> >>> - Matt >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >> >> >> -- >> www.kenlet.com >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > -- > Jon Smirl > jonsmirl@gmail.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails