class Cucumber::Core::Test::Runner::RunningTestCase::Status::Base

Attributes

step_result[R]

Public Class Methods

new(step_result) click to toggle source
# File lib/cucumber/core/test/runner.rb, line 100
def initialize(step_result)
  @step_result = step_result
end

Public Instance Methods

execute(test_step, monitor, &continue) click to toggle source
# File lib/cucumber/core/test/runner.rb, line 104
def execute(test_step, monitor, &continue)
  result = test_step.execute(monitor.result, &continue)
  result = result.with_message(%(Undefined step: "#{test_step.text}")) if result.undefined?
  result = result.with_appended_backtrace(test_step) unless test_step.hook?
  result.describe_to(monitor, result)
end
result() click to toggle source
# File lib/cucumber/core/test/runner.rb, line 111
def result
  raise NoMethodError, "Override me"
end