class

Test::Unit::TestCase

v1_8_7_72 - Show latest stable - Superclass: 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.

Included modules

  • Assertions
  • Util::BacktraceFilter

Constants

FINISHED = name + "::FINISHED"

PASSTHROUGH_EXCEPTIONS = [NoMemoryError, SignalException, Interrupt, SystemExit]

STARTED = name + "::STARTED"

Attributes

[R]method_name

Files

  • lib/test/unit/testcase.rb