I just installed phpunit.phar and am trying to set it up. What I am trying to do is to put phpunit.phar in a path so that I can run it from anywhere directly from the php cli. At this point, it is in my include_path and I can include it within a script from anywhere. But, what I think I need to do is run it from the cli “php phpunit.phar”.
Is this doable or is it even appropriate?
I think that the phpunit.phar just need to be in your path variable. Or write a small script which is located in /usr/bin with this content: