<?xml version="1.0" encoding="UTF-8"?>
<phpunit>
    <testsuites>
        <testsuite name="ViewTests">
            <file>web/tests/ViewTest.php</file>
        </testsuite>
        <testsuite name="AlertsTests">
            <file>web/tests/AlertsTest.php</file>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">web/tests</directory>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>
<?xml version="1.0" encoding="UTF-8"?>
<phpunit>
    <testsuites>
        <testsuite name="ViewTests">
            <file>web/tests/ViewTest.php</file>
        </testsuite>
        <testsuite name="AlertsTests">
            <file>web/tests/AlertsTest.php</file>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">web/lib</directory>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>
Fix Whitelist For Code Coverage in Celestial
Fix Whitelist For Code Coverage in Celestial

The whitelist for coverage should actually be the library files themselves, NOT the files that include the unit tests.

Relates To: Issue #87
