Class: Cucumber::Core::Report::Summary

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/core/report/summary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_bus) ⇒ Summary

Returns a new instance of Summary.



8
9
10
11
12
# File 'lib/cucumber/core/report/summary.rb', line 8

def initialize(event_bus)
  @test_cases = Test::Result::Summary.new
  @test_steps = Test::Result::Summary.new
  subscribe_to(event_bus)
end

Instance Attribute Details

#test_casesObject (readonly)

Returns the value of attribute test_cases.



6
7
8
# File 'lib/cucumber/core/report/summary.rb', line 6

def test_cases
  @test_cases
end

#test_stepsObject (readonly)

Returns the value of attribute test_steps.



6
7
8
# File 'lib/cucumber/core/report/summary.rb', line 6

def test_steps
  @test_steps
end