1 import java.util.List;
2
3 public class TestRunner
4 {
5 public static void main(String[] args)
6 throws ReflectiveOperationException
7 {
8 for (String arg : args)
9 {
10 Class<?> testSuiteClass = Class.forName(arg);
11 TestSuite suite = (TestSuite) testSuiteClass.newInstance();
12 List<TestResult> results = suite.run();
13 for (TestResult result : results)
14 System.out.println(result);
15 }
16 }
17 }