CodeCover

Installation Guide

This section contains installation instructions for both CodeCover Plugin for Eclipse and standalone CodeCover for use from Command Line and Ant

Installation requirements

The following software packages must be installed before you can install CodeCover:

CodeCover Standalone (Batch and Ant support)

You can download the standalone CodeCover version here. The releases are distributed as a tarball which you need to extract to a folder on your computer, after that you're ready to go.

For command line usage, codecover.sh (Un*x) and codecover.bat (Windows) wrapper scripts are provided. You may want to set your PATH environment variable to include the folder to which you extracted CodeCover, so you don't need to type in the full path to CodeCover every time.

For usage with Apache Ant, refer to the CodeCover Ant HOWTO.

CodeCover Eclipse Plugin

The CodeCover Eclipse Plugin is installed using the standard Eclipse update mechanism:

  1. Start Eclipse.
  2. From the main menu, select "Help", "Software updates", "Find and install...".
  3. In the upcoming dialog, select "Search for new features to install" and click " "Next".
  4. The list containing known update sites will be displayed. Create a new update site by clicking on "New Remote Site..." and enter the following information:
       Name: CodeCover Update Site
       URL:  http://update.codecover.org/
    
    Select the newly created site, if not already selected, and click "Finish". Eclipse will now contact the CodeCover update site; this might take a moment depending on your network connection.
  5. In the next dialog, you will see the list of features found on the update site; for now, CodeCover consists of only one feature. Select it for installation and click "Next".
  6. After the download has finished, Eclipse will ask you some questions about the license and installation, and prompt to restart the workbench. You should confirm the restart as not all CodeCover features are guaranteed to work if you simply click "Apply Changes".
Now CodeCover for Eclipse is installed! You can proceed to the CodeCover Eclipse walkthrough to learn how you can use it.