To produce code coverage statistics during the test run, you must first compile the source application (the project that contains the code to be tested) with code coverage enabled.
The Properties for AirportDemo dialog box appears.
Code coverage is enabled for the AirportDemo project.
The properties for aircode.cbl are displayed.
Code coverage is enabled for the aircode.cbl resource.
The Run Configurations dialog box appears.
The details for the run configuration appear in the right-hand pane.
Code coverage is enabled for the run configuration used to run the tests.
The test case runs and produces some code coverage statistics.
The code coverage details are displayed in the Code Coverage view, grouped under each program name in the AirportDemo project.
This shows the amount of source code that was executed during the last test run.