Class: MiniTest::TestRunner
- Inherits:
-
Struct
- Object
- Struct
- MiniTest::TestRunner
- Defined in:
- lib/minitest/test_runner.rb
Instance Attribute Summary collapse
-
#assertions ⇒ Object
Returns the value of attribute assertions.
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#suite ⇒ Object
Returns the value of attribute suite.
-
#test ⇒ Object
Returns the value of attribute test.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
Instance Attribute Details
#assertions ⇒ Object
Returns the value of attribute assertions
2 3 4 |
# File 'lib/minitest/test_runner.rb', line 2 def assertions @assertions end |
#exception ⇒ Object
Returns the value of attribute exception
2 3 4 |
# File 'lib/minitest/test_runner.rb', line 2 def exception @exception end |
#suite ⇒ Object
Returns the value of attribute suite
2 3 4 |
# File 'lib/minitest/test_runner.rb', line 2 def suite @suite end |
#test ⇒ Object
Returns the value of attribute test
2 3 4 |
# File 'lib/minitest/test_runner.rb', line 2 def test @test end |
#time ⇒ Object
Returns the value of attribute time
2 3 4 |
# File 'lib/minitest/test_runner.rb', line 2 def time @time end |
Instance Method Details
#result
3 4 5 6 7 8 9 10 |
# File 'lib/minitest/test_runner.rb', line 3 def result case exception when nil then :pass when Skip then :skip when Assertion then :failure else :error end end |