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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.