Hi, I am following Agile Web Application Development with Yii 1.1 and PHP5.
In chapter 3, when I tried to go along with the unit testing example described, the following error came up in the command prompt.
PHPUnit 3.7.9 by Sebastian Bergmann.
Function ‘phpunit_autoload’ not found (function ‘phpunit_autoload’ not found or
invalid function name)
But functional test example worked well for me. I tried re-installing phpunit and other dependencies many times.still no luck.
Can someone help? thanks.