Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SET COVERAGE Command

Turns code coverage on or off, or specifies a text file to which code coverage information is directed.


SET COVERAGE TO [FileName [ADDITIVE]]

Parameters

TO FileName

Specifies the name of a text file to which code coverage information is directed. Issue SET COVERAGE TO without a file name to close the text file.

If the file you specify does not exist, Visual FoxPro automatically creates and opens it.

ADDITIVE

Appends the code coverage information to the end of the text file specified with FileName. If you omit ADDITIVE, the code coverage information replaces the contents of the text file.

You can use SET COVERAGE at design time and at runtime in Visual FoxPro 9.0. Coverage.app, the Coverage Profile application included with Visual FoxPro, cannot be included with your distributed runtime applications. See Distributable and Restricted Visual FoxPro Features and Files for more information about files and applications that can be included with your Visual FoxPro distributed applications.

For more information about code coverage options, see Coverage Dialog Box. For more information about the Visual FoxPro Coverage Profiler, see Coverage Profiler Application.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.