mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- 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.5/phpunit.xsd"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
bootstrap="vendor/autoload.php"
|
|
>
|
|
<php>
|
|
<ini name="error_reporting" value="-1" />
|
|
<env name="KERNEL_CLASS" value="Infinito\Kernel" />
|
|
<env name="APP_ENV" value="test" />
|
|
<env name="APP_DEBUG" value="1" />
|
|
<env name="APP_SECRET" value="s$cretf0rt3st" />
|
|
<env name="SHELL_VERBOSITY" value="-1" />
|
|
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
|
|
<env name="DATABASE_URL" value="mysql://DEV_USER:userpass@db:3306/DEV_DATABASE" />
|
|
</php>
|
|
|
|
<testsuites>
|
|
<testsuite name="Functional Test Suite">
|
|
<directory>./tests/Functional/</directory>
|
|
</testsuite>
|
|
<testsuite name="Integration Test Suite">
|
|
<directory>./tests/Integration/</directory>
|
|
</testsuite>
|
|
<testsuite name="Unit Test Suite">
|
|
<directory>./tests/Unit/</directory>
|
|
<file>*Test.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist>
|
|
<directory>./src/</directory>
|
|
<exclude>
|
|
<file>./src/Kernel.php</file>
|
|
<directory>./src/DataFixtures</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
|
|
</listeners>
|
|
</phpunit> |