<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="../tests/bootstrap.php"
>
    <testsuites>
        <testsuite name="DoctrineSpatial Test Suite">
            <directory>../tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>../src/</directory>
        </whitelist>
    </filter>

    <groups>
        <exclude>
            <group>postgis-2.x</group>
            <group>postgis-2.0</group>
            <group>postgis-2.1</group>
            <group>postgis-2.2</group>
        </exclude>
    </groups>

    <php>
        <var name="db_type" value="pdo_pgsql"/>
        <var name="db_host" value="localhost"/>
        <var name="db_username" value="postgres"/>
        <var name="db_password" value=""/>
        <var name="db_name" value="doctrine_postgis_tests"/>
        <var name="db_port" value="5432"/>
    </php>
</phpunit>
