chippyash/Matrix

View on GitHub
phpunit.travis.xml

Summary

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

<!--
Additional items for phpunit section
printerFile="/path/to/ResultPrinter.php"
testSuiteLoaderFile="/path/to/StandardTestSuiteLoader.php"
-->
<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"
         mapTestClassNameToCoveredClassName="false"
         printerClass="PHPUnit_TextUI_ResultPrinter"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         stopOnIncomplete="false"
         stopOnSkipped="false"
         timeoutForSmallTests="1"
         timeoutForMediumTests="10"
         timeoutForLargeTests="60"
         verbose="false">

    <testsuites>
        <testsuite name="Chippyash/Matrix Test Suite">
            <directory phpVersion="5.4.0" phpVersionOperator=">=">./test/src/</directory>
        </testsuite>
    </testsuites>
    <!--
     ! 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>./src</directory>
            <exclude>
                <directory>./docs</directory>
                <directory>./test</directory>
                <directory>./vendor</directory>
                <!-- don't cover MatrixException as it is an empty class and spooks
                     code coverage even though it is covered in the tests-->
                <directory suffix="MatrixException.php">./src/Chippyash/Matrix/Exceptions</directory>
                <!-- don't cover interfaces- nothing to test! -->
                <directory>./src/Chippyash/Matrix/Interfaces</directory>
            </exclude>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-clover" target="./build/logs/clover.xml"/>
    </logging>
</phpunit>