addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake.test.php'); $tasks = array('controller', 'model', 'view', 'fixture', 'test', 'db_config', 'project', 'plugin'); foreach ($tasks as $task) { $suite->addTestFile($path . $task . '.test.php'); } return $suite; } }