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

Methods

_run   _run_anything   _run_suite   _run_suites   after_tests   autorun   options   out   output   output   output=   plugins   process_args   puke   run   run_tests   runner   runner=   status  

Classes and Modules

Class MiniTest::Unit::TestCase

Attributes

runner  [RW] 

Public Class methods

A simple hook allowing you to run a block of code after the tests are done. Eg:

  MiniTest::Unit.after_tests { p $debugging_info }

Registers MiniTest::Unit to run tests at process exit

Returns the stream to use for output.

DEPRECATED: use ::output instead.

Returns the stream to use for output.

Sets MiniTest::Unit to write output to stream. $stdout is the default output

Return all pluginsrun methods (methods that start with "run_").

Returns the MiniTest::Unit subclass instance that will be used to run the tests. A MiniTest::Unit instance is the default runner.

Tells MiniTest::Unit to delegate to runner, an instance of a MiniTest::Unit subclass, when MiniTest::Unit#run is called.

Public Instance methods

Top level driver, controls all output and filtering.

Writes status for failed test meth in klass which finished with exception e

Begins the full test run. Delegates to runner‘s _run method.

Runs test suites matching filter.

[Validate]