Class MiniTest::Unit::TestCase
In: lib/minitest/unit.rb
Parent: Object

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

Methods

passed?   run   setup   teardown   test_order  

Included Modules

MiniTest::Assertions

Public Class methods

Defines test order and is subclassable. Defaults to :random but can be overridden to return :alpha if your tests are order dependent (read: weak).

Public Instance methods

Returns true if the test passed.

Runs the tests reporting the status to runner

Runs before every test. Use this to refactor test initialization.

Runs after every test. Use this to refactor test cleanup.

[Validate]