16.6.2006 18:00
Rcov
Rcov is a pretty utility to find out which code parts have been covered by your test cases, so called coverage. My experience with XMPP4R has made me really Testophile, as it has shown that automated tests are really important for software which should be re-used, just what a library's intended use is like.
Now Rcov shows you which code lines haven't been called from your tests, and the HTML output is very nice.
sven aims for 100% test coverage in the new Momomoto database abstraction library. Maybe I can achieve that for XMPP4R, too. I've included a rcov Rake task in the redesign branch, but some tests aren't even running without failures, yet.
2 Kommentare
17.6.2006 17:44
Bloggt der Astro jetzt nur noch in Englisch?
20.6.2006 22:52
No
Do you want to comment this entry? Sent a Jabber message like
comment http://astroblog.spaceboyz.net/index.rb?entry=rcov YOUR_TEXT_GOES_HERE
to astroblog@spaceboyz.net.
The picture will be picked from your Jabber user info.