- Install the plugin in Eclipse - http://marketplace.eclipse.org/content/eclemma-java-code-coverage/metrics#.UZ6LDpzeqMU
- Once installed – you will see ‘Coverage as’ option in eclipse
- Select the project for which you want to check the code coverage and click on ‘Code Coverage’ as Junit.
- You should see the coverage statistics in eclipse 'Coverage' window.
- Open class to see what all lines are covered or not.
No comments:
Post a Comment