Class: Cucumber::Distrib::Events::TestCaseCreated

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

Overview

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

Instance Attribute Summary collapse

Attributes inherited from BaseTestCaseEvent

#test_case

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ TestCaseCreated

Returns a new instance of TestCaseCreated.

Parameters:

  • event (Cucumber::Events::TestCaseCreated)


350
351
352
353
# File 'lib/cucumber/distrib/events.rb', line 350

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

Instance Attribute Details

#pickleObject (readonly)

Returns the value of attribute pickle.



347
348
349
# File 'lib/cucumber/distrib/events.rb', line 347

def pickle
  @pickle
end