class

MiniTest::Unit::TestCase

v2_1_10 - Show latest stable - Superclass: Object

Subclass TestCase to create your own tests. Typically you’ll want a TestCase subclass per implementation class.

See MiniTest::Assertions

Included modules

  • MiniTest::Assertions
  • MiniTest::Unit::Guard
  • MiniTest::Unit::LifecycleHooks

Constants

PASSTHROUGH_EXCEPTIONS = [NoMemoryError, SignalException,\nInterrupt, SystemExit]

RUN_TEST_TRACE = "#{__FILE__}:#{__LINE__+3}:in `run_test'".freeze

Attributes

[R]__name__

Files

  • lib/minitest/benchmark.rb
  • lib/minitest/unit.rb
  • lib/test/unit.rb