I have a setup similar to yours, with MAMP. I also have had this problem with PHPUnit. It seems that no matter what you do, PHPUnit does not recognize the include_path
from MAMP. You have to add the correct path to the php.ini
in /private/etc/
.