| Class | Test::Unit::TestCase |
| In: |
lib/test/unit/testcase.rb
|
| Parent: | Object |
Ties everything together. If you subclass and add your own test methods, it takes care of making them into tests and wrapping those tests into a suite. It also does the nitty-gritty of actually running an individual test and collecting its results into a Test::Unit::TestResult object.
| STARTED | = | name + "::STARTED" | ||
| FINISHED | = | name + "::FINISHED" | ||
| PASSTHROUGH_EXCEPTIONS | = | [NoMemoryError, SignalException, Interrupt, SystemExit] | These exceptions are not caught by run. |
| method_name | [R] |
Creates a new instance of the fixture for running the test represented by test_method_name.
ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.