News Feed

News Archive
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 @ 07: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.

1 comment voice your opinion now!
phpunit unittest mamp pear configuration update remove tutorial

blog comments powered by Disqus

Similar Posts

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

Maarten Manders' Blog: Static + Unit Tests = Arrrghhh!

Lukas Smith's Blog: PEAR (and The Constitution Election) Unit Testing Succinctly: Why Unit Test? JSON renderer for Text_Highlight

Community Events

Don't see your event here?
Let us know!

library language podcast interview opinion framework update introduction laravel voicesoftheelephpant tool version package series release composer security community install symfony

All content copyright, 2014 :: - Powered by the Solar PHP Framework