Spork::TestFramework::Cucumber

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'
  begin
    @step_mother = ::Cucumber::StepMother.new
    @step_mother.load_programming_language('rb')
  rescue NoMethodError => pre_cucumber_0_4 # REMOVE WHEN SUPPORT FOR PRE-0.4 IS DROPPED
    @step_mother = Spork::Server::Cucumber.mother_object
  end
  super
end
run_tests(argv, stderr, stdout) click to toggle source
# File lib/spork/test_framework/cucumber.rb, line 21
def run_tests(argv, stderr, stdout)
  ::Cucumber::Cli::Main.new(argv, stdout, stderr).execute!(@step_mother)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.