chippyash/simple-accounts-3

View on GitHub
phpunit.travis.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
PHPUnit configuration file to run chippyash\Simple-Accounts-3 tests
-->

<phpunit
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
         backupGlobals="true"
         backupStaticAttributes="false"
         bootstrap="./vendor/autoload.php"
         cacheTokens="false"
         colors="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         forceCoversAnnotation="false"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         stopOnIncomplete="false"
         stopOnSkipped="false"
         timeoutForSmallTests="1"
         timeoutForMediumTests="10"
         timeoutForLargeTests="60"
         verbose="false">

    <!--
     ! The <filter> element and its children can be used to configure the
     ! blacklist and whitelist for the code coverage reporting.
     !-->
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src/php/SAccounts</directory>
            <exclude>
                <directory suffix=".php">./examples</directory>
                <directory suffix=".php">./src/php/SAccounts/Doctrine</directory>
                <file>./doctrine-db.php</file>
            </exclude>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-clover" target="./build/logs/clover.xml"/>
    </logging>

    <php>
        <const name="DBUID" value="test"/>
        <const name="DBPWD" value="test"/>
        <const name="DBNAME" value="test"/>
        <const name="DBHOST" value="localhost"/>
    </php>
</phpunit>