Class: DTest::Test::Result
- Defined in:
- lib/dtest/result.rb
Constant Summary collapse
- PASS =
'Pass'
- FAIL =
'Fail'
- UNTEST =
'Untested'
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#result ⇒ Object
Returns the value of attribute result.
Attributes included from BAResult
#after_failure, #before_failure
Attributes included from Stopwatch
Instance Method Summary collapse
-
#initialize(name) ⇒ Result
constructor
A new instance of Result.
Methods included from BAResult
Methods included from Stopwatch
Methods inherited from Failure
Constructor Details
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
84 85 86 |
# File 'lib/dtest/result.rb', line 84 def name @name end |
#result ⇒ Object
Returns the value of attribute result.
84 85 86 |
# File 'lib/dtest/result.rb', line 84 def result @result end |