# File test/unit/testcase.rb, line 39 def 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:invalid_test do suite.add(new(test)) end end return suite end