Beispiel #1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHPUnit_Extensions');
     $suite->addTestSuite('Extensions_OutputTestCaseTest');
     $suite->addTestSuite('Extensions_SeleniumTestCaseTest');
     $suite->addTest(Extensions_Database_AllTests::suite());
     return $suite;
 }
Beispiel #2
0
require_once 'Extensions/Database/DataSet/AllTests.php';
require_once 'Extensions/Database/Operation/AllTests.php';
/**
 *
 *
 * @category   Testing
 * @package    PHPUnit
 * @author     Sebastian Bergmann <*****@*****.**>
 * @copyright  2002-2008 Sebastian Bergmann <*****@*****.**>
 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
 * @version    Release: 3.2.21
 * @link       http://www.phpunit.de/
 * @since      Class available since Release 3.2.0
 */
class Extensions_Database_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('PHPUnit_Extensions_Database');
        $suite->addTest(Extensions_Database_Operation_AllTests::suite());
        $suite->addTest(Extensions_Database_DataSet_AllTests::suite());
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Extensions_Database_AllTests::main') {
    Extensions_Database_AllTests::main();
}