[racket] Multi-file code coverage tool now in PLaneT!

From: John Clements (clements at brinckerhoff.org)
Date: Thu May 26 13:11:08 EDT 2011

I'm very pleased to announce the availability of a multi-file code coverage viewer, written by Jonathan Walsh.

Torn between separating your test cases into another file and actually seeing the coverage? Well, go ahead and pull them apart, because the multi-file coverage tool displays coverage information for the files required by the present one, including both percentage covered (on a line-by-line basis) and optionally a list of uncovered lines (no more inching through your code, looking for the red highlighting.

Back End:

One reason I expect this tool to be long-term robust is that it makes absolutely no changes to the back-end; that is, it just uses the existing code coverage framework. The only thing going on here is that the tool provides a way to store, load, and display this information. This means that the tool displays coverage for un-compiled files only. We thought about fiddling with this, but finally decided that the existing behavior was probably about as useful as anything else we'd come up with, and a lot more robust.

URL for docs, including screenshots:


As you might expect, it's a one-line install:

(require (planet jowalsh/code-coverage))

Please let us know about bugs you discover!

John Clements

p.s.: I continue to be amazed that things like this can be implemented as tools, distributed through planet. Does any other IDE handle extension this gracefully?

p.p.s.:  objections to making this a blog post? 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20110526/cb6ca282/attachment.p7s>

Posted on the users mailing list.