PHPUnit 3.0.6 (with PHP 5.2.2) can’t even load a file!
$ phpunit UnitTest
X-Powered-By: PHP/5.2.2
Content-type: text/html
PHPUnit 3.0.6 by Sebastian Bergmann.
File “UnitTest.php” could not be found or is not readable.
Let’s see where it looks for my (definitely existing and readable) UnitTest.php. Add a quick debug printout starting with KS: into /usr/local/lib/php/PHPUnit/Util/Fileloader.php:
$ phpunit UnitTest
X-Powered-By: PHP/5.2.2
Content-type: text/html
KS: wd=/usr/local/bin, filename=UnitTest.php
PHPUnit 3.0.6 [...]