$suite->addTestSuite('Module0001'); $suite->addTestSuite('Module0002'); $suite->addTestSuite('Redirect0001Test'); $suite->addTestSuite('SampleData0001'); $suite->addTestSuite('Acl0001Test'); $suite->addTestSuite('Acl0002Test'); $suite->addTestSuite('DoInstall'); $suite->addTestSuite('Acl0003Test'); $suite->addTestSuite('Acl0004Test'); $suite->addTestSuite('Acl0005Test'); $suite->addTestSuite('Acl0006Test'); $suite->addTestSuite('Language0001Test'); $suite->addTestSuite('Language0002Test'); $suite->addTestSuite('Cache0001Test'); $suite->addTestSuite('Security0001Test'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Framework_AllTests::main') { print "running Framework_AllTests::main()"; Framework_AllTests::main(); } // the following section allows you to run this either from phpunit as // phpunit.bat --bootstrap servers\configdef.php tests\testsuite.php // or to run as a PHP Script from inside Eclipse. If you are running // as a PHP Script, the SeleniumConfig class doesn't exist so you must import it // and you must also run the TestSuite::main() method. if (!class_exists('SeleniumConfig')) { require_once 'servers/configdef.php'; TestSuite::main(); }