Home  >  Article  >  Backend Development  >  关于phpunit与Selenium取coverage的配备(原创)

关于phpunit与Selenium取coverage的配备(原创)

WBOY
WBOYOriginal
2016-06-13 10:59:59868browse

关于phpunit与Selenium取coverage的配置(原创)

phpunit与Selenium取coverage的配置如下:
在phpunit.xml中加入如下代码配置。

? ?? ???


还需加入


? ?? ???
? ? ? ? ? ? ? ? ? ? ? ? 你的代码所在路径
? ?? ???




如果不加白名单,会被默认全当黑名单处理的。


以上。只是实现了生成coverage文件,coverage数据还没有调出来,数据还在调试中,有了解的同学请指点,谢谢

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn