PHPunit Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration()

后端 未结 7 1632
暖寄归人
暖寄归人 2020-12-09 02:57

i don\'t know if it\'s related to Laravel 5.4. when i run phpunit command after installing laravel 5.4 without making any changes i get Uncaught Error: Ca

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 03:22

    Had the same problem at Laravel 5.4. This worked for me.

    Step 1: update your composer

    composer update
    

    Step 2: run the phpunit

    vendor/bin/phpunit
    

    You can run a specific test by specifying the file

    vendor/bin/phpunit tests/Feature/ExampleTest.php
    

提交回复
热议问题