Class: TddDeploy::Assertions::Stats
- Inherits:
-
Object
- Object
- TddDeploy::Assertions::Stats
- Defined in:
- lib/tdd_deploy/assertions.rb
Overview
Stats
Stats is a class which acts as a singleton container for test statistics & messages test_count, messages, failiure count, and failure messages are all instance variables of Stats. This avoids nasty complications which can come us when using instance, class, and class-instance variables because the actual variables are defined when they are initialized - which can easily differ from where they are declared.
Class Attribute Summary collapse
-
.test_results ⇒ Object
Returns the value of attribute test_results.
Class Attribute Details
.test_results ⇒ Object
Returns the value of attribute test_results.
27 28 29 |
# File 'lib/tdd_deploy/assertions.rb', line 27 def test_results @test_results end |