I've been searching on the internet on tutorials of code coverage test in NetBeans.
However, most tutorials use a plugin called NetBeans Code Coverage Plugin, which should be found in the 'Available Plugins'. However, 开发者_StackOverflowit's not there. So, how can I test Java code coverage in NetBeans 7.0?You can find both Cobertura Module Test Coverage
and Maven Test Coverage
in Available Plugins. You should choose one according to your build tool.
Have a look at this link for more info: http://wiki.netbeans.org/MavenCodeCoverage
Following link will navigate to you at NetBeans Code Coverage Plugins.
http://plugins.netbeans.org/plugin/38945/unit-tests-code-coverage-plugin-updated-for-netbeans-7-0
精彩评论