Observations on Code Coverage Tools and Unit Tests
Thursday, January 15, 2009At my current client, there’s a drive to put more unit tests on the Java code. It’s been a long hard process as few of the developers do strict, or even just “mostly,” test-driven development. As an attempt to try and drive this home, they’ve also tried to implement code coverage (specifically EMMA) to try to encourage test coverage. Unfortunately this doesn’t improve the quality of the tests, or even make the coverage meaningful.