rcov - code coverage tool
So I’m working on this Ruby on Rails project, doing things test first of course. I’ve done things test first before, but they tended to be apis and more server kind of things. Building a web site test first was very strange to me.
I came across rcov this weekend, and here’s what it’s telling me about the coverage:

All I can say is wow!!
- wow because rcov was super easy to install and run (as it’s often the case with rails stuff)
- wow because I had never had this much coverage before. Even when running coverage tools against the “server stuff” only, let alone against the entire code base.
- wow because some of those reds were a surprise to me, I really thought I had tests for it. Well done rcov.
Bob Evans said,
March 26, 2007 @ 4:17 pm
i had that same experience when I first turned on rcov on a project we did a few years ago. I couldn’t believe our test coverage was so high. It’s a good feeling.