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

PHPBuilder.com: Implementing User Authentication and Session Management with PHP

PHPBuilder.com: Reading RSS feeds in PHP: Part 2

SitePoint PHP Blog: HHVM revisited

DZone.com: Parallel PHPUnit

Brian Swan's Blog: Using SQL Azure Federations via PHP


Community Events





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


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

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