Cobertura
Cobertura is a free and open-source Java tool based on jcoverage that calculates the percentage of code and branches covered by tests.
Eclemma
EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License.
Others
Example |
---|
Also forgot to mention junit testing framework and a great eclipse plugin eclemma for code coverage much better than cobertura ecobertura and easier to use and of course you can try maven as the other post mentionned or try ant as build tool from question JSP tools for a Ruby/Rails developer? |