Class: Cucumber::Rake::Task::RCovCucumberRunner

Inherits:
ForkedCucumberRunner show all
Defined in:
lib/cucumber/rake/task.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ForkedCucumberRunner

#args

Instance Method Summary collapse

Methods inherited from ForkedCucumberRunner

#load_path, #quoted_binary, #run, #runner

Constructor Details

#initialize(libs, cucumber_bin, cucumber_opts, feature_files, rcov_opts) ⇒ RCovCucumberRunner

Returns a new instance of RCovCucumberRunner.



77
78
79
80
81
82
83
84
85
86
# File 'lib/cucumber/rake/task.rb', line 77

def initialize(libs, cucumber_bin, cucumber_opts, feature_files, rcov_opts)
  @args = (
    ['-I'] + load_path(libs) + 
    ['-S', 'rcov'] + rcov_opts +
    quoted_binary(cucumber_bin) + 
    ['--'] + 
    cucumber_opts + 
    feature_files
  ).flatten
end