creof/doctrine2-spatial

View on GitHub
tests/travis/travis.mysql.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<phpunit backupGlobals="false"
         colors="true"
         bootstrap="../CrEOF/Spatial/Tests/TestInit.php"
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutOutputDuringTests="true"
         beStrictAboutChangesToGlobalState="true"
         processUncoveredFilesFromWhitelist="true"
        >

    <testsuites>
        <testsuite>
            <directory>../CrEOF/Spatial/Tests</directory>
        </testsuite>
    </testsuites>

    <groups>
        <exclude>
            <group>srid</group>              <!-- Tests for SRID functionality -->
        </exclude>
    </groups>

    <php>
        <var name="db_type" value="pdo_mysql"/>
        <var name="db_host" value="127.0.0.1" />
        <var name="db_username" value="root" />
        <var name="db_password" value="" />
        <var name="db_name" value="spatial_tests" />
        <var name="db_port" value="3306" />
        <var name="opt_mark_sql" value="true" />        <!-- Execute dummy SELECT statement before each test to mark DB query log -->
        <var name="opt_use_debug_stack" value="true" /> <!-- Enable SQLLoggerStack and query logging exception in tests -->
    </php>

    <filter>
        <whitelist>
            <directory suffix=".php">../../lib/</directory>
            <exclude>
                <directory suffix=".php">../CrEOF/Spatial/Tests</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>