addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cache.test.php'); $cacheIterator = new DirectoryIterator(CORE_TEST_CASES . DS . 'libs' . DS . 'cache'); foreach ($cacheIterator as $i => $file) { if (!$file->isDot()) { $suite->addTestfile($file->getPathname()); } } return $suite; } }