Create a gist now

Instantly share code, notes, and snippets.

install phpunit osx
Problem: no phpunit in console
PHPUnit requires PEAR >= 1.9.2
$ sudo pear channel-discover pear.symfony-project.com
$ sudo pear channel-discover components.ez.no
$ sudo pear upgrade
Install phpunit
$ sudo pear channel-discover pear.phpunit.de
$ sudo pear install phpunit/PHPUnit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment