PHPStorm 2017:PHPUnit覆盖插件 [英] PHPStorm 2017: PHPUnit coverage plugin
本文介绍了PHPStorm 2017:PHPUnit覆盖插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在PHPStorm中安装了PHPunit代码覆盖率.当我运行PHPUnit时,它显示一条错误消息:
I install PHPunit code coverage in PHPStorm. When I run the PHPUnit, it displays an error message:
Sebastian Bergmann和贡献者的PHPUnit 5.7.26.
PHPUnit 5.7.26 by Sebastian Bergmann and contributors.
错误:没有代码覆盖率驱动程序
Error: No code coverage driver is available
你能帮我吗?
推荐答案
您需要在Web服务器上安装/激活XDebug或Zend-Debugger.XDebug可以简单地在php.ini中激活.
You need to install/activate XDebug or Zend-Debugger on your Web-Server. XDebug can simply be activated in the php.ini.
这篇关于PHPStorm 2017:PHPUnit覆盖插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文