phpunit throws Uncaught exception 'PHPUnit_Framework_Exception
问题 I have a Zend Framework project, and want to using unit testing to test it. In tests folder, I have the phpunit.xml as following; <phpunit bootstrap="./application/bootstrap.php" colors="true"> <testsuite name="Application Test Suite"> <directory>./</directory> </testsuite> <filter> <whitelist> <directory suffix=".php">../application/</directory> <exclude> <directory suffix=".phtml">../application/</directory> <file>../application/Bootstrap.php</file> <file>../application/controllers