Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Content with Style:
Getting phpunit to work with MAMP
May 13, 2009 @ 12:54:15

On the Content with Style blog today Pascal Opitz has made a (very) quick post about how to get PHPUnit up nd running in your MAMP installation.

In order to run my unit tests, I needed to get phpunit running with MAMP. Thanks to the helpful post of Mark Kirby on this, I figured it out.

The key is in changing the interpreter path in one file and removing a bit of code from another to point to the new PHP binary's path. You'll also need to update your PEAR include path to add in the new pear.conf location.

tagged: phpunit unittest mamp pear configuration update remove tutorial

Link:


Trending Topics: