phpunit command doesn't work for laravel 4 on windows 7

前端 未结 11 1843
南笙
南笙 2020-12-15 06:06

I\'ve recently installed laravel and have written some tests in /tests directory but when I use phpunit at cmd in the same folder that phpunit.xml

11条回答
  •  难免孤独
    2020-12-15 06:28

    The solution for me:

    php vendor/phpunit/phpunit/phpunit
    

    This, of course, assumes you've set up a php environment variable in Windows

提交回复
热议问题