How to install PHPUnit with WAMP?

前端 未结 5 2106
情深已故
情深已故 2021-02-07 14:32

I\'m a newbie programmer and I have tried for an embarrassingly long time to get PHPUnit set up and working with WAMP. I have read the documentation and went through various sit

5条回答
  •  一个人的身影
    2021-02-07 14:37

    Also check this out, may be useful http://www.mark-leong.com/installing-php-and-phpunit-on-windows-7/

    // adding required pear channels

    pear channel-update pear.php.net

    pear upgrade-all

    pear channel-discover pear.phpunit.de

    pear channel-discover components.ez.no

    pear channel-discover pear.symfony-project.com

    pear update-channels

    // performing install

    pear install --alldeps --force phpunit/PHPUnit

    If everything ok, check whether phpunit have been installed by putting in command line

    phpunit -v

    If you encountered any errors or interrupted installing

    pear clear-cache

    may be usefull in that case.

提交回复
热议问题