Class: Cucumber::Distrib::Events::BaseTestStepEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/cucumber/distrib/events.rb

Overview

Base class for converted TestStep events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ BaseTestStepEvent

Returns a new instance of BaseTestStepEvent.



117
118
119
120
# File 'lib/cucumber/distrib/events.rb', line 117

def initialize(event)
  super()
  @test_step = Cucumber::Distrib::Test.adapt_test_step(event.test_step)
end

Instance Attribute Details

#test_stepObject (readonly)

Returns the value of attribute test_step.



115
116
117
# File 'lib/cucumber/distrib/events.rb', line 115

def test_step
  @test_step
end