Please enable JavaScript to view this site.

Coverage Validator Help

Navigation: Command Line Interface

Session Export Options

Scroll Prev Top Next More

 

Session export format - HTML or XML

 

-exportAsHTML

-exportAsXML

 

Export the session data as an HTML or XML file when Coverage Validator has finished collecting data from the target program.

 

If you merge the current session with another session, the exported HTML will be for the merged session.

 

If you disable merging with the current session the export will be for the unmerged session.

 

Example:

 

-exportAsHTML c:\results\html\testMacro1.html

-exportAsXML "c:\test results\xml\testMacro1.html"

 

 

-exportMergedAsHTML

-exportMergedAsXML

 

Export the merged session data as an HTML or XML file when Coverage Validator has finished collecting data from the target program.

 

Example:

 

-exportMergedAsHTML c:\results\testMacro1Merged.html

-exportMergedAsXML "c:\xml results\testMacro1Merged.xml"

 

 

-exportAsXMLCobertura

 

Export the session data as a Cobertura XML file when Coverage Validator has finished collecting data from the target program.

 

If you merge the current session with another session, the exported HTML will be for the merged session.

 

If you disable merging with the current session the export will be for the unmerged session.

 

Example:

 

-exportAsXMLCobertua "c:\test results\xm -cobertura\testMacro1.html"

 

 

-exportMergedAsXMLCobertura

 

Export the merged session data as a Cobertura XML file when Coverage Validator has finished collecting data from the target program.

 

Example:

 

-exportMergedAsXMLCobertura "c:\cobertura xml results\testMacro1Merged.xml"

 

 

-showMergeWithReport

 

Specify whether a list of merged files is included in the exported data when an export is performed, and if so, whether to include them at the top or bottom.

 

Examples:

 

-showMergeWithReport none         instructionStep Do not include in the report

-showMergeWithReport top         instructionStep Include at the top of the report

-showMergeWithReport bottom instructionStep Include at the bottom of the report

 

 

Session export encoding - HTML or XML

 

These options allow you to export the session data as UTF-16, UTF8 or ASCII. UTF-16 and UTF-8 will add a byte order mark (BOM) to the start of the exported file.

 

-exportAsHTML_BOM

 

The exported HTML will be exported with the appropriate format.

 

 -exportAsHTML_BOM        ASCII

 -exportAsHTML_BOM        UTF8

 -exportAsHTML_BOM        UTF16

 

-exportAsXML_BOM

 

The exported XML will be exported with the appropriate format.

 

 -exportAsXML_BOM        ASCII

 -exportAsXML_BOM        UTF8

 -exportAsXML_BOM        UTF16

 

-exportAsXMLCobertura_BOM

 

The exported XML will be exported with the appropriate format.

 

 -exportAsXMLCobertura_BOM        ASCII

 -exportAsXMLCobertura_BOM        UTF8

 -exportAsXMLCobertura_BOM        UTF16

 

-exportMergedAsHTML_BOM

 

The exported HTML will be exported with the appropriate format.

 

 -exportMergedAsHTML_BOM        ASCII

 -exportMergedAsHTML_BOM        UTF8

 -exportMergedAsHTML_BOM        UTF16

 

-exportMergedAsXML_BOM

 

The exported XML will be exported with the appropriate format.

 

 -exportMergedAsXML_BOM        ASCII

 -exportMergedAsXML_BOM        UTF8

 -exportMergedAsXML_BOM        UTF16

 

-exportMergedAsXMLCobertura_BOM

 

The exported XML will be exported with the appropriate format.

 

 -exportMergedAsXMLCobertura_BOM        ASCII

 -exportMergedAsXMLCobertura_BOM        UTF8

 -exportMergedAsXMLCobertura_BOM        UTF16

 

 

HTML and XML export options

 

The following options control settings for HTML and XML export of the recorded session results

 

Many of the export settings take the form option:On or Option:Off

 

Example:

 

-exportUnvisitedLines:On

-exportVisitedLines:Off

 

Most of these options are equivalent to the corresponding settings used in the Export Session dialog.

 

-exportDescription

Sets the description to be included the exported HTML/XML.

Quotes should be used if spaces are present.
 

-exportDescription "Quality control test 2a"
 

-exportDetailedReport:On/Off

Specifies that a detailed report is produced

 

-exportDoColourCode:On/Off

Make the HTML export colour coded (not relevant for XML export)

-exportFileFormatCR
-exportFileFormatCRLF
-exportFileFormatLF

The line ending in the output file will be one of the following:
 

Carriage Return: \r (e.g. Macintosh)

Carriage Return, Line Feed: \r\n (e.g. Windows)

Line Feed: \n (e.g. Linux)

 

-exportIncludeArgs:On/Off

 

-exportSourceCode:On/Off

Choose if program arguments are included in exported data.

 

Set whether source code is exported - only used when -exportType is set to SummaryAndCoverage or DLL

-exportType

Specify the format of the exported data:

 

File

Class

DLL

SummaryAndCoverage

 
-exportType SummaryAndCoverage
 

-exportUnhooked:On/Off

Include information about functions that could not be hooked

-exportUnvisitedFunctions:On/Off

Include information about unvisited functions

-exportUnvisitedLines:On/Off

Include information about unvisited lines

-exportVisitedFunctions:On/Off

Include information about visited functions

-exportVisitedLines:On/Off

Include information about visited lines