Method: Test::Unit::TestCase#passed?
- Defined in:
- lib/test/unit/testcase.rb
#passed? ⇒ Boolean
Returns whether this individual test passed or not. Primarily for use in teardown so that artifacts can be left behind if the test fails.
544 545 546 |
# File 'lib/test/unit/testcase.rb', line 544 def passed? @internal_data.passed? end |