phpunit.xml
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="false"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false"
verbose="false"
>
<php>
<env name="PLUGIN_FILE" value="vindi.php"/>
</php>
<testsuites>
<testsuite name="vindi">
<directory prefix="test-" suffix=".php">./tests/phpunit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
<exclude>
<directory>.github</directory>
<directory>assets</directory>
<directory>bin</directory>
<directory>build</directory>
<directory>docs</directory>
<directory>node_modules</directory>
<directory>tests</directory>
<directory>src/includes</directory>
<directory>vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>