I have installed composer globally on my Ubuntu12.04 machine.
I can confirm it because it is in the ~/.composer/vendor
directory and is included in global composer.json.
My problem is whenever I try to run phpunit
it gives the following
The program 'phpunit' is currently not installed. You can install it by typing:
sudo apt-get install phpunit
EDIT:
I am following the instructions found here
phpunit
is not on your path. You can confirm this with the commandwhich phpunit
it won't be found if it's not on your path.sudo apt-get install phpunit
which phpunit
but there was not output on my terminalcomposer global require "phpunit/phpunit=4.5.*"