class TddDeploy::Assertions::Stats

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.

Attributes

test_results[RW]