Class: Cucumber::Core::Events::TestCaseStarted
- Defined in:
- lib/cucumber/core/events/test_case_started.rb
Overview
Signals that a Test::Case is about to be executed
Instance Attribute Summary collapse
-
#test_case ⇒ Cucumber::Core::Test::Case
readonly
The test case to be executed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_case) ⇒ TestCaseStarted
constructor
A new instance of TestCaseStarted.
Methods inherited from Base
Constructor Details
#initialize(test_case) ⇒ TestCaseStarted
Returns a new instance of TestCaseStarted.
17 18 19 20 |
# File 'lib/cucumber/core/events/test_case_started.rb', line 17 def initialize(test_case) @test_case = test_case super() end |
Instance Attribute Details
#test_case ⇒ Cucumber::Core::Test::Case (readonly)
Returns the test case to be executed.
11 12 13 |
# File 'lib/cucumber/core/events/test_case_started.rb', line 11 def test_case @test_case end |
Class Method Details
.event_id ⇒ Object
13 14 15 |
# File 'lib/cucumber/core/events/test_case_started.rb', line 13 def self.event_id :test_case_started end |