Class: Cucumber::Events::TestRunFinished

Inherits:
Base
  • Object
show all
Defined in:
lib/cucumber/events/test_run_finished.rb

Overview

Event fired after all test cases have finished executing

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#event_id, #to_h

Constructor Details

#initialize(success = nil) ⇒ TestRunFinished

Returns a new instance of TestRunFinished.



13
14
15
16
# File 'lib/cucumber/events/test_run_finished.rb', line 13

def initialize(success = nil)
  @success = success
  super()
end

Instance Attribute Details

#successObject (readonly)

Returns the value of attribute success.



7
8
9
# File 'lib/cucumber/events/test_run_finished.rb', line 7

def success
  @success
end

Class Method Details

.event_idObject



9
10
11
# File 'lib/cucumber/events/test_run_finished.rb', line 9

def self.event_id
  :test_run_finished
end