Having enabled code coverage for one or more projects in your solution (see Enabling code coverage), you need to execute the application in code coverage mode in order to generate the coverage data. There is a different approach to this depending on whether or now the application requires an enterprise server to run.
To run an application does not require an enterprise server in code coverage mode:
If you have not compiled your application with the latest changes, the IDE first rebuilds the project. The IDE then starts the application in debug mode.
After the execution stops, the IDE automatically opens the Micro Focus Code Coverage window that shows the statistics about what percentage of the code has executed. The code in the editor is colorized to indicate covered and missed blocks.
To run an application that requires an enterprise server in code coverage mode:
After the execution stops, the IDE automatically opens the Micro Focus Code Coverage window that shows the statistics about what percentage of the code has executed. The code in the editor is colorized to indicate covered and missed blocks.
See Viewing the Code Coverage information.