3.9.5 Merging coverage information
The purpose of merging coverage information is to combine the results obtained from testing by multiple users of the same job definition script. If different test cases were performed on a specific job definition script by different users, you can merge the separate pieces of coverage information into a single entity.
- Organization of this subsection
(1) How to merge
You use the adshcvmerg command to merge coverage information. This command merges two specified asc files. The following shows the command's format:
adshcvmerg -o output-file asc-file-1 asc-file-2
The command merges the information in asc-file-1 and asc-file-2 and outputs the results to the specified output file in asc file format.
(2) Types of information to be merged
The information to be merged includes the test counts and coverage information. For example, if the command adshcvmerg -o out c1 c2 is entered to perform merge processing, the information is changed as follows:
-
Full path name of job definition script: Full path name of c1
-
Test count: Test count for c1 + test count for c2
-
Coverage information collection start date and time: The start date and time for c1 or c2, whichever was earlier
-
Coverage information collection end date and time: The end date and time for c1 or c2, whichever was later