phpunit.xml.dist
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
executionOrder="random"
>
<testsuites>
<testsuite name="settings_pages">
<directory prefix="Test_" suffix=".php">./tests/Unit</directory>
<directory prefix="Test_" suffix=".php">./tests/Intergration</directory>
<exclude>./tests/Fixtures/Ajax_BaseCase.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="tests/wp-config.php" />
<ini name="memory_limit" value="512M" />
</php>
<logging>
<log type="coverage-clover" target="clover.xml" />
</logging>
</phpunit>