Pages

Monday, September 26, 2005

Measuring test coverage with Cobertura

Discovered a new tool for my arsenal: Cobertura (http://cobertura.sourceforge.net/). It's a unit test coverage tool. It's open source and is easy to integrate into your Ant build process. It seems very similar to Clover, but I could never get Clover working in my Ant build so I looked for an alternative and found Cobertura. So far I'm very impressed. I really like the highlighting of the source code, showing where I have test coverage and where I don't. Definitely worth a look.