module SimpleCov
def start(profile = nil, &block)
Please check out the RDoc for SimpleCov::Configuration to find about available config options
end
add_filter 'test'
SimpleCov.start 'rails' do
OR
end
add_filter 'test'
SimpleCov.start do
OR
SimpleCov.start 'rails' # using rails profile
OR
SimpleCov.start
You can optionally specify a profile to use as well as configuration with a block:
Sets up SimpleCov to run against your project.
def start(profile = nil, &block) require "coverage" initial_setup(profile, &block) @result = nil self.pid = Process.pid start_coverage_measurement end