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

WBOY
Release: 2016-06-13 13:02:52
Original
985 people have browsed it

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

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

? ?? ???


还需加入


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




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


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!