Set of glob patterns that should be excluded from the test run. [none]
false, the task will emit a warning rather than failing
when Rcov command fails. [true]
Extra load-paths that should be appended to $: when running the test cases. [none]
If true, RCov will generate colorblind-safe output. [false]
The path to which RCov should generate output [./coverage]
Determines whether bogo-profiling is enabled [false]
The color scale range for profiling output (dB) [not used]
The command that runs RCov [‘rcov’]
A +Rake::FileList+ holding Ruby source filenames that are included in the coverage report. This is optional - RCov finds sources by running them. However, if you do specify your files here then the coverage report will only be generated when they change.
The base name for the generated task [:rcov]
A +Rake::FileList+ holding unit-test filenames and globs. RCov will execute these to generate the report.
Note that the named task just invokes a file task for the output directory, which is dependent on test (and source, if specified) file changes.
# File lib/rote/extratasks.rb, line 61 def initialize(name = :rcov, failonerror = true) # :yield: self if block_given? @taskname = name @rcov_cmd = 'rcov' @test_files = Rake::FileList.new @source_files = Rake::FileList.new @load_paths =  @excludes =  @output_dir = './coverage' @failonerror = true yield self if block_given? define(name) end