Laravel 5: PHPUnit and no code coverage driver available

前端 未结 8 671
深忆病人
深忆病人 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条回答
  •  醉话见心
    2020-12-25 10:08

    As other developers answered, you need to install PHP Xdebug but I want to add new recommend for the developers who are using homestead by default have Xdebug (but it is off) and you can make it ON or OFF

    If you want to make it on use below command in homestead

    #for on :
    xon
    
    #for off:
    xoff
    

    Then check php -v and you will see Xdebug in the detail box

提交回复
热议问题