#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    17
    Rep Power
    0

    Need to implement PHPUnit


    Hi All,

    We have website on Shared hosting. I am a newbie.
    i have installed PHPUnit testing framework on the server.
    When i try to run a test case in command mode(phpunit --help using Putty), i am getting error as attached No such file or Directory.

    Kindly help me in implementing PHPUnit.

    Regards,
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,904
    Rep Power
    1045
    Hi,

    obviously the phpunit executable isn't in your PATH. This means you either have to add it (just Google for it) or provide the full path to the file.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    17
    Rep Power
    0
    Thx for the reply.

    Since i m on shared hosting i dont have access to PHP INI.
    so kindly let me know where to add the PATH?

    PHPUnit.php is available in folder /home/xxxxUSNxxxx/php
    also there is a folder by name PHPUnit in /home/xxxxUSNxxxx/php/PHPUnit

    Regards,


    Originally Posted by Jacques1
    Hi,

    obviously the phpunit executable isn't in your PATH. This means you either have to add it (just Google for it) or provide the full path to the file.

IMN logo majestic logo threadwatch logo seochat tools logo