News Feed
Sections




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

PHPMaster.com: Reusing Implementation - a Walk-through of Inheritance, Composition, and Delegation

DevShed: Building File Uploaders with PHP 5

Padraic Brady's Blog: Wishing For A PEAR Channel Aggregator? Yes, Please!

ProDevTips.com: CRUD with PHP Doctrine

Gonzalo Ayuso: Handling several DBALs in Symfony2 through the Dependency Injection with PHP


Community Events





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


version api update deployment series package interview language unittest introduction bugfix framework release opinion community podcast zendserver laravel library symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework