I’m using Zend Studio 7.2 on Windows 7 with Zend Framework 1.10 and Zend Server CE. I’ve created a PHPUnit test case with Zend Studio and am able to run it successfully via the command line. I’d like to use Zend Studio’s interface, but when I run the test case I get the following error “Fatal error: Cannot redeclare class PHPUnit_Util_FilterIterator in C:\Program Files (x86)\Zend\Apache2\htdocs\library\pear\pear\PHPUnit\Util\FilterIterator.php on line 162” .
Update: I got past this error. The problem was related to having both my custom install of PHPUnit and the PHPUnit built into Zend Studio on the include path of the project. Remove one of them and it should work.