Class: Cucumber::Core::Test::Runner::RunningTestCase::Status::NotPassing
- Inherits:
-
Base
- Object
- Base
- Cucumber::Core::Test::Runner::RunningTestCase::Status::NotPassing
- Defined in:
- lib/cucumber/core/test/runner.rb
Instance Method Summary collapse
Methods inherited from Base
#initialize, #step_result_message
Constructor Details
This class inherits a constructor from Cucumber::Core::Test::Runner::RunningTestCase::Status::Base
Instance Method Details
#execute(test_step, monitor) ⇒ Object
151 152 153 154 155 156 |
# File 'lib/cucumber/core/test/runner.rb', line 151 def execute(test_step, monitor) result = test_step.skip(monitor.result) result = result.(%(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(duration) ⇒ Object
158 159 160 |
# File 'lib/cucumber/core/test/runner.rb', line 158 def result(duration) step_result.with_duration(duration) end |