Class Test::Unit::TestSuite
In: test/unit/testsuite.rb
Parent: Object
A collection of tests which can be run.

Note: It is easy to confuse a TestSuite instance with something that has a static suite method; I know because I have trouble keeping them straight. Think of something that has a suite method as simply providing a way to get a meaningful TestSuite instance.

Methods
add    new    run    size    to_s   
Attributes
:name  [R] 
:tests  [R] 
Public Class methods
new(name="Unnamed TestSuite")
Creates a new TestSuite with the given name.
Public Instance methods
run(result, &progress_block)
Runs the tests and/or suites contained in this TestSuite.
add(test)
Adds the test to the suite.
size()
Retuns the rolled up number of tests in this suite; i.e. if the suite contains other suites, it counts the tests within those suites, not the suites themselves.
to_s()
Overriden to return the name given the suite at creation.