Please enable JavaScript to view this site.

Coverage Validator Help

Navigation: » No topics above this level «

Command Line Interface

Scroll Prev Top Next More

 

Coverage Validator provides a command line interface to allow you to perform automated coverage data collection.

 

To run 32 bit coverage validator run C:\Program Files (x86)\Software Verify\Coverage Validator x86\coverageValidator.exe

 

To run 64 bit coverage validator run C:\Program Files (x86)\Software Verify\Coverage Validator x64\coverageValidator_x64.exe

 

 

Automated coverage data collection

 

Potential uses for automated code coverage analysis are:

 

In the regression test suite to ensure code coverage of a certain level

In unit testing to ensure code coverage of a certain level

Quality assurance

 

Results from coverage data collection sessions can be merged to form an aggregate result.

 

Typically, command line options allow Coverage Validator to run by specifying:

 

the target program to run

arguments to pass to the target program

the working directory to run in

whether to run with or without the user interface

a baseline session to compare with

where and how to save results

what to include or exclude from hooking

how to merge results
 

Usually Coverage Validator would exit between automated tests, but it can be made to stay running if necessary.

 

seeAlsoSee the command line reference for an alphabetical listing all the available commands.

 

 

Command line argument usage

 

There are a few basic rules to remember when using the command line arguments:

 

separate arguments by spaces
 

quote arguments if they contain spaces
 

some arguments are only useful in conjunction with others
 

some arguments are incompatible with others

 

If your command line is very long, consider using -commandFile to specify a command file for your arguments.

 

 

Unrecognised arguments

 

Any unrecognised arguments found on the command line are simply ignored, whether or not they are prefixed with a hyphen.

 

Arguments intended for your program will not conflict with the Coverage Validator arguments in this manual as you should use -arg (or -allArgs) to redirect them to your program.

 

 

Need some help building the command line?

 

If you find creating command lines from nothing to be a bit daunting we've created a Command Line Builder tool to help you build command lines.

 

You'll still need to complete some details, but the builder will help prevent you making some mistakes.

 

 
Command Lines and Floating Licences

 

Coverage Validator works from the GUI and from the command line with all types of software licence (floating licences and non-floating licences).

 

When floating licences are being used Coverage Validator will wait to acquire a floating licence before proceeding to process the command line options.

 

There are no options to:

Checkout a floating licence

Release a floating licence

Query for available licences

 

These options are managed automatically by Coverage Validator, there is no need for such options to be manually controlled from the command line.