<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
    backupGlobals="true"
    colors="true"
    beStrictAboutOutputDuringTests="true"
    beStrictAboutTestsThatDoNotTestAnything="true"
    bootstrap="tests/bootstrap.php"
    convertDeprecationsToExceptions="true"
>
    <testsuites>
        <testsuite name="Guzzle PSR-7 Unit Test Suite">
            <directory>tests</directory>
            <exclude>tests/Integration</exclude>
            <exclude>tests/Psr7Integration</exclude>
        </testsuite>
        <testsuite name="Guzzle PSR-7 Integration Test Suite">
            <directory>tests/Integration</directory>
        </testsuite>
        <testsuite name="PSR-17 Integration Test Suite">
            <directory>./vendor/http-interop/http-factory-tests/test</directory>
        </testsuite>
        <testsuite name="PSR-7 Integration Test Suite">
            <directory>tests/Psr7Integration</directory>
        </testsuite>
    </testsuites>
    <coverage>
        <include>
            <directory suffix=".php">src</directory>
        </include>
    </coverage>
    <php>
        <const name="REQUEST_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
        <const name="RESPONSE_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
        <const name="SERVER_REQUEST_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
        <const name="STREAM_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
        <const name="UPLOADED_FILE_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
        <const name="URI_FACTORY" value="GuzzleHttp\Psr7\HttpFactory"/>
    </php>
</phpunit>
