module SimpleCov::Configuration

def merge_timeout(seconds = nil)


Configure with SimpleCov.merge_timeout(3600) # 1hr

Default is 600 seconds (10 minutes)

Of course, this only applies when merging is active (e.g. SimpleCov.use_merging is not false!)

purged from the resultset cache)
more seconds ago than specified here, it won't be taken into account when merging (and is also
i.e. If you run cucumber features, then later rake test, if the stored cucumber resultset is
Defines the maximum age (in seconds) of a resultset to still be included in merged results.
def merge_timeout(seconds = nil)
  @merge_timeout = seconds if seconds.is_a?(Integer)
  @merge_timeout ||= 600
end