<phpunit
    bootstrap="tests/bootstrap.php"
    backupGlobals="false"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    >

    <testsuites>
        <testsuite name="recurly-php">
        <directory>tests</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">lib</directory>
            <exclude>
                <file>lib/recurly.php</file>
                <file>lib/recurly/version.php</file>
                <file>lib/recurly/client.php</file>
                <file>lib/recurly/http_adapter.php</file>
                <directory suffix=".php">lib/recurly/resources</directory>
                <directory suffix=".php">lib/recurly/errors</directory>
            </exclude>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="coverage" />
    </logging>

    <php>
        <ini name="date.timezone" value="America/Chicago" />
        <ini name="display_errors" value="on" />
    </php>
</phpunit>
