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