/** * Returns a suite containing all tests requiring a database connection, * tests are decorated so that they are run once with automatic * * @return void */ public static function suite() { $suite = new self('Database related tests'); $suite->addTestFile(__DIR__ . DS . 'Database' . DS . 'ConnectionTest.php'); $suite->addTestDirectoryRecursive(__DIR__ . DS . 'Database'); $suite->addTestDirectoryRecursive(__DIR__ . DS . 'ORM'); return $suite; }