Class: Cucumber::Events::TestStepCreated
- Defined in:
- lib/cucumber/events/test_step_created.rb
Overview
Event fired when a TestStep is created from a PickleStep
Instance Attribute Summary collapse
-
#pickle_step ⇒ Object
readonly
Returns the value of attribute pickle_step.
-
#test_step ⇒ Object
readonly
Returns the value of attribute test_step.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_step, pickle_step) ⇒ TestStepCreated
constructor
A new instance of TestStepCreated.
Methods inherited from Base
Constructor Details
#initialize(test_step, pickle_step) ⇒ TestStepCreated
Returns a new instance of TestStepCreated.
15 16 17 18 19 |
# File 'lib/cucumber/events/test_step_created.rb', line 15 def initialize(test_step, pickle_step) @test_step = test_step @pickle_step = pickle_step super() end |
Instance Attribute Details
#pickle_step ⇒ Object (readonly)
Returns the value of attribute pickle_step.
9 10 11 |
# File 'lib/cucumber/events/test_step_created.rb', line 9 def pickle_step @pickle_step end |
#test_step ⇒ Object (readonly)
Returns the value of attribute test_step.
9 10 11 |
# File 'lib/cucumber/events/test_step_created.rb', line 9 def test_step @test_step end |
Class Method Details
.event_id ⇒ Object
11 12 13 |
# File 'lib/cucumber/events/test_step_created.rb', line 11 def self.event_id :test_step_created end |