Class: Cucumber::Distrib::Events::TestStepCreated

Inherits:
BaseTestStepEvent show all
Defined in:
lib/cucumber/distrib/events.rb

Overview

Object that mimic Cucumber::Event::TestStepCreated on Leader for reporters.

Instance Attribute Summary collapse

Attributes inherited from BaseTestStepEvent

#test_step

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ TestStepCreated

Returns a new instance of TestStepCreated.

Parameters:

  • event (Cucumber::Events::TestStepCreated)


410
411
412
413
# File 'lib/cucumber/distrib/events.rb', line 410

def initialize(event)
  super
  @pickle_step = event.pickle_step
end

Instance Attribute Details

#pickle_stepObject (readonly)

Returns the value of attribute pickle_step.



407
408
409
# File 'lib/cucumber/distrib/events.rb', line 407

def pickle_step
  @pickle_step
end