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 99 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 103 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.source.last) if IsStepVisitor.new(test_step).step? result.describe_to(monitor, result) end
result()
click to toggle source
# File lib/cucumber/core/test/runner.rb, line 110 def result raise NoMethodError, "Override me" end