|
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
|
|
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:
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