Add uncovered files to code coverage
If the files are never included through the PHP test run, they won't count as uncovered otherwise. See https://phpunit.de/manual/current/en/code-coverage-analysis.html#code-coverage-analysis.whitelisting-files
This commit is contained in:
parent
9cb33ea5bf
commit
48e98c3d4f
|
@ -32,4 +32,17 @@
|
|||
<group>sanitychecks</group>
|
||||
</exclude>
|
||||
</groups>
|
||||
|
||||
<filter>
|
||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">.</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">thirdparty/</directory>
|
||||
<directory suffix=".php">admin/thirdparty/</directory>
|
||||
<directory suffix=".php">tests/</directory>
|
||||
<directory suffix=".php">admin/tests/</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
</phpunit>
|
||||
|
|
Loading…
Reference in New Issue