# File test/unit/testcase.rb, line 39def TestCase.suite
method_names = public_instance_methods(true)
tests = method_names.delete_if { |method_name| method_name !~ /^test.+/ }
suite = TestSuite.new(name)
tests.each() do
|test|
catch :invalid_test do
suite << new(test)
endendreturn suite
end