Home
Features
Getting started
Roadmap
Download
License
More info
FAQ
Developers Guide
Hosted at
Coberclipse at Sourceforge
 

Requirements :

To use the Cobertura Plugin for Eclipse, you need Eclipse 3.3 or later, and JRE/JDK 1.5 or later.

Installation :

  • Download the plugin from the sourceforge.
  • Extract the zip file in Eclipse's 'plugins' subdirectoy. (So <eclipse_install_dir>/plugins/net.sourceforge.coberclipse_0.9.0 should be the path to Coberclipse).

Using the Plugin :

To get started, right click on a Java project, and select the option labeled "Cobertura". The project will have the ability to output the test coverage report after running junit test cases.

To view the test coverage

  • From the Window menu, select Show View > Other... to open the Show View dialog.
  • In the dialog, expand the Cobertura category, select Coverage Summary, and then click the OK button. Coverage Summary view will be opened.
  • The line/branch coverage will show up on the view after running junit test cases.
  • Double-click on one file in the Coverage Summary, the detailed coverage report will be open.
  • Right-click on one file and select "Source Code", the file will open.
  • Clicking on the header of a column will sort the view.
  • From the pull-down menu in Coverage Summary view, in the upper right corner, Select the Filter... to remove files you may not need from your view.








Copyright © 2008, Zhou Guang