Class: Cucumber::Distrib::Events::BaseTestCaseEvent

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

Overview

Base class for converted TestCase events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ BaseTestCaseEvent

Returns a new instance of BaseTestCaseEvent.



107
108
109
110
# File 'lib/cucumber/distrib/events.rb', line 107

def initialize(event)
  super()
  @test_case = Cucumber::Distrib::Test::Case.new event.test_case
end

Instance Attribute Details

#test_caseObject (readonly)

Returns the value of attribute test_case.



105
106
107
# File 'lib/cucumber/distrib/events.rb', line 105

def test_case
  @test_case
end