PHPUnit Installation

Installing PHP Unit on Ubuntu
created by on 2013-03-05

PHPUnit

sudo su
pear config-set auto_discover 1

pear install pear.phpunit.de/PHPUnit

Submodules

sudo su
pear config-set preferred_state beta

pear install phpunit/DbUnit
pear install phpunit/PHPUnit_Selenium
pear install phpunit/PHPUnit_Story
pear install phpunit/PHPUnit_TestListener_DBUS
pear install phpunit/PHPUnit_TestListener_XHProf
pear install phpunit/PHPUnit_TicketListener_Fogbugz
pear install phpunit/PHPUnit_TicketListener_GitHub
pear install phpunit/PHPUnit_TicketListener_GitHub
pear install phpunit/PHPUnit_TicketListener_GoogleCode
pear install phpunit/PHPUnit_TicketListener_Trac
pear install phpunit/PHP_Invoker

Screenshot of a phpunit run in the command line

General Links

Troubleshooting Links

Tags:
Fork allmark on GitHub