-
Notifications
You must be signed in to change notification settings - Fork 1
Test code coverage
SWP-Comp-Ch3ck3r edited this page Apr 27, 2013
·
3 revisions
We want to reach a test coverage of 90%. This is good practice but can be hard when you don't know which parts of your code are covered already. To help you with this, an eclipse plugin called "EclEmma" is available.
Click on Help -> Install new Software
. Enter the URL http://update.eclemma.org/
in the Work with
field and presse enter. Now Check the ECL Emma plugin and click on next
or finish
until the installation is finished.
To check your coverage select your junit test and run the ecl test coverage plugin.
Eclipse will now highlight your code in green and red. Green code is covered by your tests, red code is not. Eclipse will show you a coverage summary in the Coverage view