Module: Cucumber::RunningTestCase
- Defined in:
- lib/cucumber/running_test_case.rb
Overview
Represents the current status of a running test case.
This wraps a ‘Cucumber::Core::Test::Case` and delegates many methods to that object.
We decorete the core object with the current result. In the first Before hook of a scenario, this will be an instance of ‘Cucumber::Core::Test::Result::Unknown` but as the scenario runs, it will be updated to reflect the passed / failed / undefined / skipped status of the test case.
Defined Under Namespace
Classes: TestCase
Class Method Summary collapse
Class Method Details
.new(test_case) ⇒ Object
19 20 21 |
# File 'lib/cucumber/running_test_case.rb', line 19 def self.new(test_case) TestCase.new(test_case) end |