Class: Cucumber::Distrib::Events::TestReported

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

Overview

Event to notify on worker side that a test has been reported to leader.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(payload) ⇒ TestReported

Returns a new instance of TestReported.

Parameters:



399
400
401
402
# File 'lib/cucumber/distrib/events.rb', line 399

def initialize(payload)
  super()
  @payload = payload
end

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload.



396
397
398
# File 'lib/cucumber/distrib/events.rb', line 396

def payload
  @payload
end