Repository navigation
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
52 lines (47 loc) · 2.07 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
52 lines (47 loc) · 2.07 KB
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
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://docs.phpunit.de/en/11.5/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
failOnDeprecation="true"
failOnPhpunitDeprecation="true"
failOnNotice="true"
failOnWarning="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="APP_DEBUG" value="true" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="KERNEL_CLASS" value="EasyCorp\Bundle\EasyAdminBundle\Tests\Functional\Apps\DefaultApp\Kernel" />
</php>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit/</directory>
</testsuite>
<testsuite name="Functional">
<directory>tests/Functional/</directory>
<directory>tests/TestUtils/</directory>
<!-- exclude directories that contain Symfony application code (not tests) -->
<exclude>tests/Functional/Apps/</exclude>
</testsuite>
</testsuites>
<extensions>
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
<bootstrap class="Zenstruck\Foundry\PHPUnit\FoundryExtension" />
<bootstrap class="EasyCorp\Bundle\EasyAdminBundle\Tests\PHPUnit\RemoveForeignErrorHandlersExtension" />
</extensions>
<!-- Symfony code triggers its deprecations with a silenced trigger_error(); report them anyway -->
<source ignoreSuppressionOfDeprecations="true">
<include>
<directory>src</directory>
</include>
</source>
</phpunit>