Crude Java and Agile thoughts
Is Junit Coverage Useful?
Looks like the whole Agile world is running towards the junit coverage for quality. Does higher Junit Tests Coverage ensures better code quality? No way. The only assurance of better code quality is low complexity.
Junit Tests should be used as a tool to assist in achieving low complexity. Only high code coverage never ensures a flexible maintainable code. I have explained all this in detail in “The Myths of Junit Code Coverage“. This will help you for sure.