阅读(4863)
赞(0)
为代码覆盖率包含或排除文件
2016-02-24 15:42:34 更新
为代码覆盖率包含或排除文件
<filter>
元素及其子元素用于为代码覆盖率报告配置黑名单与白名单。
<filter>
<blacklist>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
<exclude>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
</exclude>
</blacklist>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
<exclude>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
</exclude>
</whitelist>
</filter>
← 分组