module Cucumber::RunningTestCase
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.
Public Class Methods
new(test_case)
click to toggle source
# File lib/cucumber/running_test_case.rb, line 19 def self.new(test_case) TestCase.new(test_case) end