class Spork::TestFramework::Cucumber

Constants

DEFAULT_PORT
HELPER_FILE

Attributes

mother_object[RW]

REMOVE WHEN SUPPORT FOR 0.3.95 AND EARLIER IS DROPPED

Public Instance Methods

preload() click to toggle source
# File lib/spork/test_framework/cucumber.rb, line 10
def preload
  require 'cucumber'
  if ::Cucumber::VERSION >= '0.9.0' && ::Cucumber::VERSION < '1.0.0'
    # nothing to do nowadays
  else
    preload_legacy_cucumbers
  end
  super
end
run_tests(argv, stderr, stdout) click to toggle source
# File lib/spork/test_framework/cucumber.rb, line 20
def run_tests(argv, stderr, stdout)
  if ::Cucumber::VERSION >= '0.9.0'  && ::Cucumber::VERSION < '1.0.0'
    ::Cucumber::Cli::Main.new(argv, stdout, stderr).execute!
  else
    ::Cucumber::Cli::Main.new(argv, stdout, stderr).execute!(@step_mother)
  end
end