error Phpstorm on Mac

Hi, I'm new to PHP so I follow the tutorial and installed MAMP but when I try to run my test project I get this error

/Applications/MAMP/bin/php/php5.6.2/bin/php /private/var/folders/h1/pv1pftwx53j2q6v4htl4541w0000gn/T/ide-phpunit.php --no-configuration /Users/paolo/Downloads/Lannet
Testing started at 09:46 ...

Process finished with exit code 1
Cannot find PHPUnit in include path (.:/Applications/MAMP/bin/php/php5.6.2/lib/php)

I downloaded the PHPUnit and copied on the path but I got no difference ?:|

Thanks fo help

Comment actions Permalink

Hi there,

1) How did you download PHPUnit? single PHAR file .. or via composer, etc ?
2) How did you setup PHPUnit in PhpStorm?

Please refer to these manuals:

Comment actions Permalink

Hi, thanks for answer me :)
1) I got to the site and downloaded a single file
2) I don't setup any PHPUnit on storm, I just opened a project I have done some time ago ( with texteditor )
I'm testing PHPStorm, just installed 2 days ago.


Please sign in to leave a comment.