BT

Ruby Coverage Tool Making Rapid Progress

| by Obie Fernandez Follow 0 Followers on May 25, 2006. Estimated reading time: less than one minute |
Rcov is a tool for simple code coverage analysis in Ruby that is 20-300 times faster than previous tools. The latest release (0.4.0) has many notable improvements. The author, Mauricio Fernandez, attributes the improvements in large part to the use of rcov on itself to achieve better test coverage.
Parts of the code have been moved into a reusable library that allows you to
build on top of rcov's coverage analysis capabilities. This change allowed for
much better testing of rcov's internals, which helped squash many bugs and add
features while making the overall code look better thanks to some long-needed
refactoring.
The standard XHTML reports sport a better color-scheme and plain text output formats are notably improved. A sample code coverage report generated by rcov is available online. The new release also includes rake support, for easy integration into your project's automated build.

Good news for Windows-based Ruby developers: a win32 binary is available for the latest version which increases performance by more than 100 times over previous versions.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT