Class: Cucumber::Core::Test::Runner::RunningTestCase::Status::Failing

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

Direct Known Subclasses

Skipping

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Cucumber::Core::Test::Runner::RunningTestCase::Status::Base

Instance Method Details

#execute(test_step, monitor, &continue) ⇒ Object



128
129
130
# File 'lib/cucumber/core/test/runner.rb', line 128

def execute(test_step, monitor, &continue)
  test_step.skip(monitor.result)
end

#result(duration) ⇒ Object



132
133
134
# File 'lib/cucumber/core/test/runner.rb', line 132

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