Class Test::Unit::UI::Console::TestRunner
In: test/unit/ui/console/testrunner.rb
Parent: Object

Runs a Test::Unit::TestSuite on the console.

Methods
finished    new    nl    output    output?    output_single    run    start    started    test_finished    test_started   
Public Class methods
run(suite, output_level=NORMAL)

Creates a new TestRunner and runs the suite.

new(suite, output_level=NORMAL, io=STDOUT)

Creates a new TestRunner for running the passed suite. If quiet_mode is true, the output while running is limited to progress dots, errors and failures, and the final result. io specifies where runner output should go to; defaults to STDERR.

Public Instance methods
start()

Begins the test run.

Private Instance methods
started(result)
finished(elapsed_time)
test_started(name)
test_finished(name)
nl(level=NORMAL)
output(something, level=NORMAL)
output_single(something, level=NORMAL)
output?(level)