class

MiniTest::Unit::TestCase

ruby latest stable - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

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