Here are some tips that are useful when doing Java testing in Eclipse editor.
1. Clearing coverage highlighting
Click the “Remove all Sessions” button in the toolbar of the “Coverage” view.
2. Running test automatically
Installing the Infinitest plugin. It will automatically run test related to the Java class you currently working on. You can find the infintest on the left bottom corner of Eclipse editor.