phpunit-windows.xml 1.18 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- Only use this when running in Windows environment! -->

<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
         backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="SearchWP\Dependencies\vendor\autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         verbose="true"
>
    <php>
        <ini name="error_reporting" value="-1" />
        <ini name="zend.enable_gc" value="0"/>
        <ini name="error_reporting" value="-1"/>
        <ini name="intl.error_level" value="0"/>
        <ini name="display_errors" value="On"/>
    </php>

    <testsuites>
        <testsuite name="all">
            <directory>tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory>src</directory>
        </whitelist>
    </filter>
</phpunit>