I am trying to install PHPUnit on a shared hosting server i.e. GoDaddy. In the cpanel provided by GoDaddy, i can see PHP Pear extensions, which on searching gave me only phpunit1, phpunit2 which are very old versions, given we have phpunit 4.6 now.
The documentation here http://ift.tt/1DQS2yh says to use
wget http://ift.tt/18KHIKL
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit
When i sshed into my shared hosting, and did a wget it gave me permission denied.
I was wondering if there is a way for godaddy shared hosting to have phpunit4.6 using cpanel. If not, can i simply download phpunit inside an existing framework and start referring to phpunit framework to write my test cases ?
Aucun commentaire:
Enregistrer un commentaire