CodeCoverageSaveInterval

  

DEVELOPER

 

 

Purpose

.CodeCoverageSaveInterval allows you to specify a periodic save of the captured code coverage data in seconds. The default behaviour is that the captured data is only saved at a specific events. This method can be used to specify that the file is saved at a specific time interval (if there have been changes) as well. It will still save when specific events occur.  

Object Type

Session

Syntax

Session.CodeCoverageSaveInterval(#Save_Every_N_Seconds)

Remarks

Setting the save interval to be less than or equal to zero returns it to its default behaviour where saves only occur at specific events.

Saving too frequently can have a detrimental effect on the performance of the virtual machine.


Example

To set the save interval to be every ten seconds:

Session.CodeCoverageSaveInterval(10)

Comment on this topic

Topic ID: 510185