CodeCoverageFilePrefix

  

DEVELOPER

 

 

Purpose

.CodeCoverageFilePrefix allows you to override the prefix of the file that captured coverage data is saved to. The default is "cdcvrg".
 

Object Type

Session

Syntax

Session.CodeCoverageFilePrefix("myfileprefix")

Remarks

The file prefix can be set before code coverage capture is enabled.

Changing the file prefix while code coverage capture is enabled will cause any existing captured data to be saved under the old filename. The code coverage data is reset. New captured data will be saved under the new filename.


Example

To set the prefix of the file containing the captured code coverage data:

Session.CodeCoverageFilePrefix("payroll_test_4")

Comment on this topic

Topic ID: 510182