The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Adding regression tests to rcov

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eigen Class

Posts: 358
Nickname: eigenclass
Registered: Oct, 2005

Eigenclass is a hardcore Ruby blog.
Adding regression tests to rcov Posted: May 18, 2006 4:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Eigen Class.
Original Post: Adding regression tests to rcov
Feed Title: Eigenclass
Feed URL: http://feeds.feedburner.com/eigenclass
Feed Description: Ruby stuff --- trying to stay away from triviality.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Eigen Class
Latest Posts From Eigenclass

Advertisement

I just began to eat my own dog food, applying rcov to its own regression tests. The coverage figure is still pathetic, but at least it's going up: rcov had been essentially untested (or only tested manually, which amounts to about the same) for way too long time. The main reason was bad laziness, and the self-justification that it's not easy to test code that relies on set_trace_func. Which was of course to a large extent false.

So here I am, adding regression tests semi-automatically with my xmp filter:

rcov-the-movie-excellent.gif

I now feel much more confident hacking rcov, and I finally got around to refactoring a bit. 0.4.0 is surely going to be quite cleaner and more featureful that 0.3.0.


Read more...

Read: Adding regression tests to rcov

Topic: Ruby on Rails Searchable and Annotatable Docs Previous Topic   Next Topic Topic: RoR :: Pasando valores de un campo en el link_to_remote

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use