class CucumberRunner

Public Class Methods

rerun_features(feature_paths, options) click to toggle source
# File lib/recumber/cucumber_runner.rb, line 3
def self.rerun_features(feature_paths, options)
  command = get_command_from_options(options)
  command << " " << feature_paths.join(' ')

  puts "Recumber command: #{command}"

  system(command)
end

Private Class Methods

get_command_from_options(options) click to toggle source
# File lib/recumber/cucumber_runner.rb, line 14
def self.get_command_from_options(options)
  if options[:zeus]
    command = "zeus cucumber"
  else
    command = "cucumber"
  end
end