Module: DTest::Test::BAResult
- Included in:
- CaseResult, GlobalResult, Result
- Defined in:
- lib/dtest/result.rb
Overview
before/after result
Instance Attribute Summary collapse
-
#after_failure ⇒ Object
Returns the value of attribute after_failure.
-
#before_failure ⇒ Object
Returns the value of attribute before_failure.
Instance Method Summary collapse
Instance Attribute Details
#after_failure ⇒ Object
Returns the value of attribute after_failure.
28 29 30 |
# File 'lib/dtest/result.rb', line 28 def after_failure @after_failure end |
#before_failure ⇒ Object
Returns the value of attribute before_failure.
28 29 30 |
# File 'lib/dtest/result.rb', line 28 def before_failure @before_failure end |
Instance Method Details
#ba_empty? ⇒ Boolean
36 37 38 |
# File 'lib/dtest/result.rb', line 36 def ba_empty? @before_failure.empty? && @after_failure.empty? end |