BT

InfoQ Homepage News Ruby Coverage Tool Making Rapid Progress

Ruby Coverage Tool Making Rapid Progress

Bookmarks
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
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.

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

Community comments

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.