GroupTest('All tests for SimpleTest ' . SimpleTestOptions::getVersion()); $this->addTestCase(new UnitTests()); $this->addTestFile('shell_test.php'); $this->addTestFile('live_test.php'); $this->addTestFile('acceptance_test.php'); $this->addTestFile('real_sites_test.php'); } } $test = &new AllTests(); if (SimpleReporter::inCli()) { exit ($test->run(new TextReporter()) ? 0 : 1); } $test->run(new HtmlReporter()); ?>