Class
Test::Unit::UI::TestRunnerMediator
In:
test/unit/ui/testrunnermediator.rb
Parent:
Object
Provides an interface to write any given UI against, hopefully making it easy to write new UIs.
Methods
create_result
new
run?
run_suite
Attributes
:tuner
[R]
Included modules
Util::Observable
Public Class methods
run?
()
Returns true if any
TestRunnerMediator
instances have been run.
new
(suite)
Creates a new
TestRunnerMediator
initialized to run the passed suite.
Public Instance methods
run_suite
()
Runs the suite the
TestRunnerMediator
was created with.
Private Instance methods
create_result
()
A factory method to create the result the mediator should run with. Can be overridden by subclasses if one wants to use a different result.