Skip to content

Get Coverage Reports working with PHPUnit and MAMP

November 10, 2011

If you get a “The Xdebug extension is not loaded. No code coverage will be generated.” error message when running phpunit –coverage-html test, you need to add Xdebug to the php.ini as follows:


The actual path may actual be different as I am using ActiveState’s Komodo version of Xdebug that I manually copied to the PHP extensions directory.

If you are running MAMP Pro you should also add the above lines to the php.ini template. Do this by opening MAMP Pro Application and click “Edit Template” from the File menu, then click “PHP 5.3.6 php.ini”.

Save and restart your servers.


From → komodo, MAC OS, PHP

One Comment
  1. It can be found occasionally with using the “Sculptor’s Workbench.
    Arteriosclerose nosode (Staufen-Pharma) (2):
    Physicians licensed to use nosodes may prescribe an individual
    potency or use a potency chord. Now that you have picked a healing stone for yourself you need to
    know how to cleanse and program it for optimal healing benefits, and how to use the healing stone.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: