I'm getting started with PHP and PhpStorm. Running php scripts and debugging works fine for me.
But I just can't get PHPUnit to work. I've used the standard PEAR installation instructions.
(I'm using Mac Snow Leopard)
I got my PHPUnit installation in /usr/lib/php/PHPUnit.
Like the PhpStorm help suggests I've added /usr/lib/php/PEAR to as content root. But I get the error
Error: (E_WARNING) require_once(PHPUnit/Framework.php): failed to open stream: No such file or directory
PHPUnit is not configured properly
when trying to generate a test class for an existing class.
So I added /usr/lib/php/PHPUnit as content root. I can see the PHPUnit/Framework.php in my project structure.
When I open it, it says
Path 'PHPUnit' not found for every "require" line.
I tryed adding the directories to my include_path in php.ini still no effect.
What am I doing wrong? Thanks for any help.