forked from eventum/eventum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
48 lines (43 loc) · 1.31 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<const name="PHPUNIT_EVENTUM_TESTSUITE" value="true"/>
<env name="KERNEL_CLASS" value="Eventum\Kernel"/>
<server name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
<!-- https://symfony.com/doc/4.4/components/phpunit_bridge.html#configuration -->
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[total]=34&max[self]=2&max[direct]=27&max[indirect]=2&verbose=1" />
<!--
<ini name="date.timezone" value="UTC" />
<server name="KERNEL_DIR" value="/path/to/your/app/" />
-->
</php>
<!-- for code coverage -->
<filter>
<whitelist>
<directory>.</directory>
<exclude>
<directory>tests</directory>
<directory>vendor</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>