Class: Cucumber::Core::Report::Summary
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/report/summary.rb
Instance Attribute Summary collapse
-
#test_cases ⇒ Object
readonly
Returns the value of attribute test_cases.
-
#test_steps ⇒ Object
readonly
Returns the value of attribute test_steps.
Instance Method Summary collapse
-
#initialize(event_bus) ⇒ Summary
constructor
A new instance of Summary.
- #ok?(be_strict = Test::Result::StrictConfiguration.new) ⇒ Boolean
Constructor Details
#initialize(event_bus) ⇒ Summary
Returns a new instance of Summary.
8 9 10 11 12 13 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/report/summary.rb', line 8 def initialize(event_bus) @previous_test_case = nil @test_cases = Test::Result::Summary.new @test_steps = Test::Result::Summary.new subscribe_to(event_bus) end |
Instance Attribute Details
#test_cases ⇒ Object (readonly)
Returns the value of attribute test_cases.
6 7 8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/report/summary.rb', line 6 def test_cases @test_cases end |
#test_steps ⇒ Object (readonly)
Returns the value of attribute test_steps.
6 7 8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/report/summary.rb', line 6 def test_steps @test_steps end |
Instance Method Details
#ok?(be_strict = Test::Result::StrictConfiguration.new) ⇒ Boolean
15 16 17 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/report/summary.rb', line 15 def ok?(be_strict = Test::Result::StrictConfiguration.new) test_cases.ok?(be_strict) end |