Class: Verity::Runner::Result
- Inherits:
-
Data
- Object
- Data
- Verity::Runner::Result
- Defined in:
- lib/verity/runner.rb
Overview
Public: Immutable outcome of running a single test.
test - The Verity::Test that was executed. status - Symbol :pass, :fail, :error, or :skip. error - Exception instance or nil.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#test ⇒ Object
readonly
Returns the value of attribute test.
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
14 15 16 |
# File 'lib/verity/runner.rb', line 14 def error @error end |
#status ⇒ Object (readonly)
Returns the value of attribute status
14 15 16 |
# File 'lib/verity/runner.rb', line 14 def status @status end |
#test ⇒ Object (readonly)
Returns the value of attribute test
14 15 16 |
# File 'lib/verity/runner.rb', line 14 def test @test end |