Code Coverage and IDz Integration


The IBM Debugger have the possibility to generate code coverage information when a program is executed. Non-virtualized Test is able to initiate this from a test scenario and it will also collect and analyze the result after the execution of the test scenario. When code coverage is enabled for a test scenario, the result of the execution will contain the resulting code coverage information. This includes the code coverage percentage for each module executed as well as color marking of the lines of code that have been executed.

Non-virtualized Test can also initiate a debug session in IDz when you execute a program from the browser. The code coverage option is available in both clients while the debug option is only available in the browser. A debug session can only be initiated in IDz.

The Total Test Non-virtualized Test server installation document describes how to setup Non-virtualized Test to initiate the IBM Debugger and it provides help in setting up IBM Debug and the IBM code coverage daemon.

Location for IBM code coverage jar file

Copy the com.ibm.debug.pdt.codecoverage.core.results jar file, for example, (com.ibm.debug.pdt.codecoverage.core.results_10.1.0.202010161242.jar) located in the IDz installation directory to the TotalTest directory under your user directory. If the user directory does not exist, create the directory. The directory path can be found and changed under Windows > Preferences > BMC > Total Test > Functional Test > Folder with IBM Code Coverage jar file.

This section provides information about the following topic:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*