What is Insurance?

Insurance is a test coverage analysis tool for Ruby. Insurance uses tracing, similar to rcov/Coverage, but is written as a C extension to gain speed. In general tests, Insurance runs 4 to 6 times slower than a normal run of the test suite. Compared with pure Ruby tracing (via set_trace_func) this is a tremendous increase in speed.

Insurance currently does only line based coverage analysis, though there are plans to add other types of analysis in future releases.

Insurance also includes a runner script to make doing coverage analysis of Rails applications extremely easy.

What is required to run Insurance?

Insurance requires Ruby 1.8.3 and the Syntax package.

Insurance does contain a C extension, so you'll need to be able to build one. Insurance builds and works great on Linux, BSD, and OSX. I do not know anything about using Ruby on Windows, or building C extensions on Windows. If you're a Windows user and know how to get this packaged up, please contact me. Otherwise I have no plans to acquire, install, and learn Windows in order to package Insurance for it.

How do I get Insurance?

You can always find information about the current release of Insurance right here. Also, see the links off to the right.

What does the output look like?

Who created this?

Insurance is an open source project created by Lunchbox Software. If you would like to contact me about Insurance, please send mail to insurance at elitists.net.