class Covered::Config
def make_policy(policy)
def make_policy(policy) policy.cache! # Only files in the root would be tracked: policy.root(@root) # We will ignore any files in the test or spec directory: policy.skip(/^.*\/(test|spec|vendor|config)\//) # We will include all files under lib, even if they aren't loaded: policy.include("lib/**/*.rb") policy.persist! policy.source policy.reports!(@coverage) end