Class: Testicles::Report::PassedTest
- Inherits:
-
Object
- Object
- Testicles::Report::PassedTest
- Defined in:
- lib/testicles/report.rb
Overview
Encapsulate the relevant information for a test that passed.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#test_name ⇒ Object
readonly
Name of the test that passed.
Instance Method Summary collapse
-
#initialize(test_name) ⇒ PassedTest
constructor
:nodoc:.
Constructor Details
#initialize(test_name) ⇒ PassedTest
:nodoc:
127 128 129 |
# File 'lib/testicles/report.rb', line 127 def initialize(test_name) #:nodoc: @test_name = test_name end |
Instance Attribute Details
#test_name ⇒ Object (readonly)
Name of the test that passed. Useful for certain reports.
125 126 127 |
# File 'lib/testicles/report.rb', line 125 def test_name @test_name end |