from your app dir
...app>cake Phpunit.Phpunit install
Am Montag, 26. März 2012 09:42:06 UTC+2 schrieb resting:
from: http://book.cakephp.org/2.0/en/development/testing.html
I followed the steps below:pear upgrade PEAR pear config-set auto_discover 1 pear install pear.phpunit.de/PHPUnit
After which it shows
$ which phpuni
/usr/bin/phpunit
$ phpunit -v
PHP Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/lib/php/PHPUnit/Autoload.php on line 45
PHP Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/usr/lib/php/PHPUnit:/usr/lib/pear') in /usr/lib/php/PHPUnit/Autoload.php on line 45
pear list doesn't show that PHPUnit was installed.
What could be the problem?
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment