Thursday, 1 January 2009

[Eclipse] (Plugin)- Java Code Coverage for Eclipse

* This plugin for Code Coverage - especially for Junit

1. Install

2. Launching (or setting) in Coverage Mode

3. Create "Test" run configuration

4. You should select what kind of project can be generate code coverage report
from "Coverage" tab. (Coverage Run > Converage configurations)

5. When "running" is over , Do not terminate manually !
Type : osgi> exit

Then you will see Coverage report

* error message "No coverage data file has been written"
check ""

Check all step from this web site

* After running code coverage you should re-compile
the project which is checked for Code Coverage

No comments: