phpunit.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<phpunit  
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.5/phpunit.xsd"
    bootstrap="./tests/bootstrap.php"
    stopOnWarning="false"
    verbose="false"
    backupGlobals="false"
    backupStaticAttributes="false"
    
    
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutChangesToGlobalState="true"
         beStrictAboutOutputDuringTests="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         
    colors="true">
    <testsuites>
        <testsuite name="HTTP2">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>

    <!-- Code coverage -->
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
    <logging>
        <log 
            type="coverage-clover" 
            target=".build/clover.xml"/>
        <log 
            type="coverage-html" 
            target=".build/coverage"/>
    </logging>
</phpunit>