<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="true"
         syntaxCheck="false">

    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>

    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/unit/</directory>
            <directory>./tests/integration/</directory>
        </testsuite>
    </testsuites>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="APP_LOG" value="syslog"/>
        <env name="DB_CONNECTION" value="testing"/>
        <env name="DB_DATABASE" value="test_timegrid"/>
        <env name="DB_USERNAME" value="test_timegrid"/>
        <env name="DB_PASSWORD" value="test_timegrid"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
    </php>
    <filter>
      <whitelist processUncoveredFilesFromWhitelist="true">
        <directory suffix=".php">app/</directory>
        <exclude>
          <directory suffix=".js">public/</directory>
        </exclude>
      </whitelist>
    </filter>
</phpunit>

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="true"
         syntaxCheck="false">
<!--
    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
-->
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/unit/</directory>
            <directory>./tests/integration/</directory>
        </testsuite>
    </testsuites>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="APP_LOG" value="syslog"/>
        <env name="DB_CONNECTION" value="testing"/>
        <env name="DB_DATABASE" value="test_timegrid"/>
        <env name="DB_USERNAME" value="test_timegrid"/>
        <env name="DB_PASSWORD" value="test_timegrid"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
    </php>
    <filter>
      <whitelist processUncoveredFilesFromWhitelist="true">
        <directory suffix=".php">app/</directory>
        <exclude>
          <directory suffix=".js">public/</directory>
        </exclude>
      </whitelist>
    </filter>
</phpunit>

Disable clover generation by default
Disable clover generation by default

Disabling for performance reasons.
Clover should only be generated to filesystem only when it serves as input
for later analysis or reporting.
