Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Code Coverage Plugin still available in NetBeans 7.0? How can I use it?

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, it's not there.
So, how can I test Java code coverage in NetBeans 7.0?

like image 707
Haozhun Avatar asked Dec 28 '22 21:12

Haozhun


2 Answers

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

like image 189
Anthony Accioly Avatar answered Jan 13 '23 16:01

Anthony Accioly


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

like image 29
Shrikant Kale Avatar answered Jan 13 '23 17:01

Shrikant Kale