addTestClass(path2class($test_file)); } else { $test = new GroupTest('All Tests'); foreach ($test_files as $test_file) { require_once $test_file; $test->addTestClass(path2class($test_file)); } } if (SimpleReporter::inCli()) $reporter = new TextReporter(); else $reporter = new HTMLPurifier_SimpleTest_Reporter('UTF-8'); $test->run($reporter); ?>