Solved!
I removed phpunit from the pear and then installed it again. I believe that I used the wrong / old / insufficient sources before installation. It works like a charm!
So, I'm trying to configure PEAR and PHPUnit. I followed http://www.newmediacampaigns.com/page/install-pear-phpunit-xdebug-on-macosx-snow-leopard , but after installing the pear I had a different directory structure in / usr / local. Despite this, I was able to run the phpunit installation. But now I'm lost and ask for help before I make a bigger mess :)
pear config-show says:
PEAR directory php_dir /usr/local/share/pear
And my php.ini file (and confirmed in phpinfo () says:
include_path=".:/usr/local/share/pear"
So good, huh? But what now? I get
Failed to open 'PHPUnit / Framework.php' (include_path = '.: / Usr / local / share / pear')
If I try to include it in php. And I have no idea where the binary can run it from the command line.
Inside /usr/local/share/pear/PHPUnit there are two directories called "Extensions" and "Framework"
source share