Class: Verity::Runner::Result

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



14
15
16
# File 'lib/verity/runner.rb', line 14

def error
  @error
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'lib/verity/runner.rb', line 14

def status
  @status
end

#testObject (readonly)

Returns the value of attribute test

Returns:

  • (Object)

    the current value of test



14
15
16
# File 'lib/verity/runner.rb', line 14

def test
  @test
end