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

Constructor Details

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

Returns a new instance of RCovCucumberRunner.



73
74
75
76
77
78
79
80
81
82
# File 'lib/cucumber/rake/task.rb', line 73

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