3.28.4. Viewing the code coverage for a test run

Once a test with code coverage has run, the code coverage information must first be processed in order to show it in the Test Result Summary View.

The following columns are available in the Test Result Summary View to show you code coverage information:

If a column is not visible, you can show it by selecting it from the context-sensitive menu on the header row for the Test Result Summary View.

Opening and viewing the code coverage report

  1. In the Test Result Summary View, select the test run whose code coverage you want to see and click the ”Open Profiling Report” button at the top of the view.

    The details about code coverage are available in the database for the same amount of time as the test result details (Section 3.22.3.1, “Re-opening the test result view for a test run”). After this time, the code coverage details are deleted along with the test run details.

  2. In the editor that opens, you can see the details for the code coverage for the test run.

  3. If you specified a source file directory for your AUT (Section 3.28.2, “Configuring code coverage for an AUT”) and compiled your AUT classes with debug information, you will be able to navigate through your classes to see more detailed information about the code coverage through the whole AUT.

  4. Once you have opened a code coverage report, it is saved into your workspace. You can reopen it from the Navigation View.

    You should regularly remove old code coverage reports from your workspace to avoid overfilling it.



Copyright BREDEX GmbH 2015. Made available under the Eclipse Public License v1.0.