Hello, First let me say that its my first experience with unit testing ZendFramework applications. What i'm trying to do is set up PHPUnit along with XDebug for code coverage reports. I wrote few very basic tests that run fine but as soon as Xdebug gets to my aplication folder to generate reports i start getting 'Cannot redeclare class...' errors like the one here:
Generating code coverage report, this may take a moment. PHP Fatal error: Cannot redeclare class Settings_IndexController in .../application/modules/settings/controllers/IndexController.php on line 20 I'm a bit frustrated about this problem and don't know where to look for the cause of it as well as where to get any support. May be some of you guys are familiar with such problem or can direct me to where i can read more on the topic. Thanks a lot, Dmitry. -- View this message in context: http://www.nabble.com/Xdebug-and-unit-testing-%28cannot-redeclare-class%29-tp25460125p25460125.html Sent from the Zend Framework mailing list archive at Nabble.com.
