Class: Tst::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/tst.rb

Overview

A little value object containing test result data

Instance Attribute Summary collapse

Instance Attribute Details

#elapsedObject

Returns the value of attribute elapsed

Returns:

  • (Object)

    the current value of elapsed



52
53
54
# File 'lib/tst.rb', line 52

def elapsed
  @elapsed
end

#exceptionObject

Returns the value of attribute exception

Returns:

  • (Object)

    the current value of exception



52
53
54
# File 'lib/tst.rb', line 52

def exception
  @exception
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



52
53
54
# File 'lib/tst.rb', line 52

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



52
53
54
# File 'lib/tst.rb', line 52

def status
  @status
end