Laravel 4 testing; 'phpunit' is not recognized?

后端 未结 5 1194
旧时难觅i
旧时难觅i 2021-02-03 22:46

http://four.laravel.com/docs/testing Says \"After installing a new Laravel application, simply run phpunit on the command line to run your tests.\"

ph

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-03 23:19

    You need to install phpunit and the best way is with pear.

    pear channel-discover pear.phpunit.de
    pear install phpunit/PHPUnit
    

    If you don't have pear installed, check this regarding pear installation.

提交回复
热议问题