phpunit.xml.dist 911 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="UTF-8"?>

<phpunit
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.3/phpunit.xsd"
         backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         stopOnFailure="false"
         syntaxCheck="false"
14
         bootstrap="tests/bootstrap.php"
15 16 17 18
>

    <php>
        <ini name="error_reporting" value="-1"/>
19
        <env name="MONGODB_URI" value="mongodb://127.0.0.1:27017/?serverSelectionTimeoutMS=100"/>
20
        <env name="MONGODB_DATABASE" value="phplib_test"/>
21 22 23 24 25 26 27 28
    </php>

    <testsuites>
        <testsuite name="MongoDB CRUD Test Suite">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>
</phpunit>