Class: Cosmos::TestResult
- Defined in:
- lib/cosmos/tools/test_runner/test.rb
Overview
class TestStatus
Constant Summary collapse
- @@test_suite =
nil
Instance Attribute Summary collapse
-
#exceptions ⇒ Object
Returns the value of attribute exceptions.
-
#message ⇒ Object
Returns the value of attribute message.
-
#output ⇒ Object
Returns the value of attribute output.
-
#result ⇒ Object
Returns the value of attribute result.
-
#stopped ⇒ Object
Returns the value of attribute stopped.
-
#test ⇒ Object
Returns the value of attribute test.
-
#test_case ⇒ Object
Returns the value of attribute test_case.
-
#test_suite ⇒ Object
Returns the value of attribute test_suite.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ TestResult
constructor
A new instance of TestResult.
Constructor Details
#initialize ⇒ TestResult
Returns a new instance of TestResult.
60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 60 def initialize @test = nil @test_case = nil @test_suite = nil @test_suite = @@test_suite.clone if @@test_suite @output = nil @exceptions = nil @stopped = false @result = :SKIP @message = nil end |
Instance Attribute Details
#exceptions ⇒ Object
Returns the value of attribute exceptions.
53 54 55 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 53 def exceptions @exceptions end |
#message ⇒ Object
Returns the value of attribute message.
56 57 58 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 56 def @message end |
#output ⇒ Object
Returns the value of attribute output.
52 53 54 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 52 def output @output end |
#result ⇒ Object
Returns the value of attribute result.
55 56 57 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 55 def result @result end |
#stopped ⇒ Object
Returns the value of attribute stopped.
54 55 56 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 54 def stopped @stopped end |
#test ⇒ Object
Returns the value of attribute test.
49 50 51 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 49 def test @test end |
#test_case ⇒ Object
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 |
#test_suite ⇒ Object
Returns the value of attribute test_suite.
51 52 53 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 51 def test_suite @test_suite end |
Class Method Details
.test_suite=(test_suite) ⇒ Object
72 73 74 |
# File 'lib/cosmos/tools/test_runner/test.rb', line 72 def self.test_suite= (test_suite) @@test_suite = test_suite end |