Class: Cucumber::Core::Test::Runner::RunningTestCase::Status::Failing
- Inherits:
-
Base
- Object
- Base
- Cucumber::Core::Test::Runner::RunningTestCase::Status::Failing
show all
- Defined in:
- lib/cucumber/core/test/runner.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#execute(test_step, monitor, &continue) ⇒ Object
128
129
130
131
132
133
134
135
|
# File 'lib/cucumber/core/test/runner.rb', line 128
def execute(test_step, monitor, &continue)
result = test_step.skip(monitor.result)
if result.undefined?
result = result.with_message(%(Undefined step: "#{test_step.text}"))
result = result.with_appended_backtrace(test_step.source.last)
end
result
end
|
#result(duration) ⇒ Object
137
138
139
|
# File 'lib/cucumber/core/test/runner.rb', line 137
def result(duration)
step_result.with_duration(duration)
end
|