i have pear’s phpunit installed (see image)
I have that path in the include path (see image below) in php.ini. Note, other pear installations have worked with this include path, so I know there’s nothing wrong with that path per see.
Yet, when I’m trying to do a an example functional test with Yii , I move into the directory protected/tests/ and run this code (provided by a book I’m learning)
% cd protected/tests/
% phpunit functional/SiteTest.php
I get told
-bash: phpunit: command not found
any idea what I’m doing wrong?


It means that your shell cannot find the
phpunitcommand. Specify the full path to the command.