I’ve been trying to run some very basic phpunit tests on one of the example project within the yii web development book and for some reason i keep on getting these errors every time… found loads of solutions and -none- of them really worked for me (especially since the pear phpunit/selenium command is deprecated so most of the solutions are not really up to date)…
C:\Users\faustus\trackstar\protected\tests>phpunit ./unit/dbTest.php
Fatal error: Cannot redeclare class PHPUnit_Extensions_SeleniumTestCase in C:\wa
mp\bin\php\php5.5.12\pear\PHPUnit\Extensions\SeleniumTestCase.php on line 1217