Cobertura Coverage in NetBeans 7.4 |
NetBeans will detect the addition of Cobertura in the POM file and automatically add menu items for checking code coverage. This is a very slick feature in NetBeans.
The Cobertura coverage shows 90% in the project because it does not handle the generics correctly at this time.
The Apache Maven based project can be downloaded from Bitbucket below:
unit-testing-demo
Here is an example snippet of the code.
No comments:
Post a Comment