Class: FasTest::TestResult
- Inherits:
-
Object
- Object
- FasTest::TestResult
- Defined in:
- lib/fas_test.rb
Overview
Represents the state of a finished test
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#test_class ⇒ Object
readonly
Returns the value of attribute test_class.
Instance Method Summary collapse
-
#initialize(test_class, method_name, status) ⇒ TestResult
constructor
A new instance of TestResult.
Constructor Details
#initialize(test_class, method_name, status) ⇒ TestResult
Returns a new instance of TestResult.
217 218 219 220 221 |
# File 'lib/fas_test.rb', line 217 def initialize(test_class, method_name, status) @test_class = test_class @method_name = method_name @status = status end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
214 215 216 |
# File 'lib/fas_test.rb', line 214 def method_name @method_name end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
215 216 217 |
# File 'lib/fas_test.rb', line 215 def status @status end |
#test_class ⇒ Object (readonly)
Returns the value of attribute test_class.
213 214 215 |
# File 'lib/fas_test.rb', line 213 def test_class @test_class end |