LiveCoverProj Object

Properties

 

CommandLine

Sets or returns the command line used to start test coverage.

Modules (default)

Read-only. Returns the collection of LiveCoverMod objects.

MonitorInstrumented

Sets or returns a boolean that determines if LiveCoverage should monitor for instrumented executables.

StartDirectory

Sets or returns the starting directory when test coverage is started.

Methods

 

AttachCoverage

Attaches to a running process and starts monitoring test coverage.

GetErrorCode

Gets result code from test coverage, optionally waiting until coverage terminates.

HasCoverChanged

Returns a boolean indicating if coverage info for any module has changed since last saved.

HasProjChanged

Returns a boolean indicating if the project settings have changed since they were saved.

IsTestInProgress

Returns a process ID if test coverage is in progress.

LoadCover

Loads the test coverage files for all modules in the project.

Merge

Merges coverage info from another file into the current results of a corresponding executable.

SaveCover

Saves the test coverage files for all modules in the project.

SetNotifyThread

Sets a thread to be notified when test coverage is finished.

StartCoverage

Starts test coverage.

StopCoverage

Stops test coverage.