40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
||
|
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
|
||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
|
||
|
backupGlobals="false"
|
||
|
colors="true"
|
||
|
bootstrap="tests/bootstrap.php"
|
||
|
>
|
||
|
<php>
|
||
|
<ini name="error_reporting" value="-1" />
|
||
|
<server name="APP_ENV" value="test" force="true" />
|
||
|
<server name="SHELL_VERBOSITY" value="-1" />
|
||
|
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
|
||
|
<server name="SYMFONY_PHPUNIT_VERSION" value="8" />
|
||
|
</php>
|
||
|
|
||
|
<testsuites>
|
||
|
<testsuite name="Project Test Suite">
|
||
|
<directory>tests</directory>
|
||
|
</testsuite>
|
||
|
</testsuites>
|
||
|
|
||
|
<filter>
|
||
|
<whitelist>
|
||
|
<directory>src</directory>
|
||
|
</whitelist>
|
||
|
</filter>
|
||
|
|
||
|
<listeners>
|
||
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
|
||
|
</listeners>
|
||
|
|
||
|
<extensions>
|
||
|
<!-- it begins a database transaction before every testcase and rolls it back after
|
||
|
the test finished, so tests can manipulate the database without affecting other tests -->
|
||
|
<extension class="\DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
|
||
|
</extensions>
|
||
|
</phpunit>
|