Class: Cucumber::Core::Test::Runner::StepRunner::Failing

Inherits:
Struct
  • Object
show all
Defined in:
lib/cucumber/core/test/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#step_resultObject

Returns the value of attribute step_result

Returns:

  • (Object)

    the current value of step_result



86
87
88
# File 'lib/cucumber/core/test/runner.rb', line 86

def step_result
  @step_result
end

Instance Method Details

#execute(test_step, monitor) ⇒ Object



87
88
89
# File 'lib/cucumber/core/test/runner.rb', line 87

def execute(test_step, monitor)
  test_step.skip
end

#result(duration) ⇒ Object



91
92
93
# File 'lib/cucumber/core/test/runner.rb', line 91

def result(duration)
  step_result.with_duration(duration)
end