Coverage Validator can be controlled from the command line prompt.
This allows you to create scripts that you can use to run repeatable tests.
This tutorial describes in detail how Example 2 merging code coverage from the previous tutorial works.
The command line is:
coverageValidator.exe -program "c:\new compiler\version2\testbed.exe"
-directory "c:\new compiler\testarea"
-saveSession "c:\test results\testbed.cvm"
-displayUI
-refreshCoverage -refreshFunctions -refreshFilesAndLines
-loadSession "c:\test results\session1.cvm"
-mergeSessions -saveMergeResult "c:\test results\session2.cvm"
The above command line can be broken into its constituent items:
If you find writing command line tiresome, and you’d like some help we have created a command line builder tool to make the process of creating command lines a lot easier.