Class: Cosmos::TestResult

Inherits:
Object show all
Defined in:
lib/cosmos/tools/test_runner/test.rb

Overview

class TestStatus

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTestResult

Returns a new instance of TestResult.



57
58
59
60
61
62
63
64
65
# File 'lib/cosmos/tools/test_runner/test.rb', line 57

def initialize
  @test = nil
  @test_case = nil
  @output = nil
  @exceptions = nil
  @stopped = false
  @result = :SKIP
  @message = nil
end

Instance Attribute Details

#exceptionsObject

Returns the value of attribute exceptions.



52
53
54
# File 'lib/cosmos/tools/test_runner/test.rb', line 52

def exceptions
  @exceptions
end

#messageObject

Returns the value of attribute message.



55
56
57
# File 'lib/cosmos/tools/test_runner/test.rb', line 55

def message
  @message
end

#outputObject

Returns the value of attribute output.



51
52
53
# File 'lib/cosmos/tools/test_runner/test.rb', line 51

def output
  @output
end

#resultObject

Returns the value of attribute result.



54
55
56
# File 'lib/cosmos/tools/test_runner/test.rb', line 54

def result
  @result
end

#stoppedObject

Returns the value of attribute stopped.



53
54
55
# File 'lib/cosmos/tools/test_runner/test.rb', line 53

def stopped
  @stopped
end

#testObject

Returns the value of attribute test.



49
50
51
# File 'lib/cosmos/tools/test_runner/test.rb', line 49

def test
  @test
end

#test_caseObject

Returns the value of attribute test_case.



50
51
52
# File 'lib/cosmos/tools/test_runner/test.rb', line 50

def test_case
  @test_case
end