Class: Cucumber::Core::Report::Summary
- Inherits:
-
Object
- Object
- Cucumber::Core::Report::Summary
- Defined in:
- 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
- #after_test_case(test_case, result) ⇒ Object
- #after_test_step(test_step, result) ⇒ Object
-
#initialize ⇒ Summary
constructor
A new instance of Summary.
- #method_missing ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing ⇒ Object
20 21 |
# File 'lib/cucumber/core/report/summary.rb', line 20 def method_missing(*) end |
Instance Attribute Details
#test_cases ⇒ Object (readonly)
Returns the value of attribute test_cases.
5 6 7 |
# File 'lib/cucumber/core/report/summary.rb', line 5 def test_cases @test_cases end |
#test_steps ⇒ Object (readonly)
Returns the value of attribute test_steps.
5 6 7 |
# File 'lib/cucumber/core/report/summary.rb', line 5 def test_steps @test_steps end |
Instance Method Details
#after_test_case(test_case, result) ⇒ Object
12 13 14 |
# File 'lib/cucumber/core/report/summary.rb', line 12 def after_test_case(test_case, result) result.describe_to test_cases end |
#after_test_step(test_step, result) ⇒ Object
16 17 18 |
# File 'lib/cucumber/core/report/summary.rb', line 16 def after_test_step(test_step, result) result.describe_to test_steps end |