Laravel 5: PHPUnit and no code coverage driver available

前端 未结 8 656
深忆病人
深忆病人 2020-12-25 09:49

I would like to use PHPUnit to create code coverage reports. I have tried a lot of installation setups found on the web. But nothing seems to work out.

I use the lat

8条回答
  •  Happy的楠姐
    2020-12-25 10:06

    Update for PHP 7.1

    xdebug is essential for code lookup and coverage , so xdebug is must to be installed or enabled in test environment. xdebug in production environment is not suggestible, it will affect performance if you turned on

    brew install php71-xdebug

提交回复
热议问题