addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper.test.php'); $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper_collection.test.php'); $helperIterator = new DirectoryIterator(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS); // The following test cases cause segfaults for me. $segfaulty = array('cache.test.php'); foreach ($helperIterator as $i => $file) { if (!$file->isDot() && !in_array($file->getFilename(), $segfaulty)) { $suite->addTestfile($file->getPathname()); } } return $suite; } }