-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
102 lines (89 loc) · 3.57 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
102 lines (89 loc) · 3.57 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?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="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
testdox="false"
testdoxSummary="true"
beStrictAboutOutputDuringTests="true"
stopOnError="true"
stopOnFailure="true"
stopOnDefect="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
>
<coverage>
<report>
<clover outputFile="build/logs/clover.xml" />
<html outputDirectory="build/report" lowUpperBound="75" highLowerBound="95" />
<text outputFile="php://stdout" showOnlySummary="true" showUncoveredFiles="true" />
</report>
</coverage>
<php>
<ini name="error_reporting" value="-1" />
<ini name="display_errors" value="On" />
<ini name="display_startup_errors" value="On" />
<ini name="date.timezone" value="UTC" />
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="SHELL_VERBOSITY" value="-1" />
<env name="USE_ALL_USER_COMBINATIONS" value="no" />
<env name="APP_ENV" value="test" force="true" />
<env name="APP_DEBUG" value="false" force="true" />
<env name="APP_SECRET" value="93b60d4136baea83cf3821ee6a0a2adb" />
<!--
To make sure that application has no "direct" deprecations we use `max[direct]=0` as a default one
indirect deprecations are just shown on test output to help to track those.
Note that you can change this behaviour if you want to, just see following documentation and see
how you can configure that.
https://symfony.com/doc/current/components/phpunit_bridge.html#direct-and-indirect-deprecations
-->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0" />
</php>
<extensions>
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
<parameter name="clock-mock-namespaces" value="App" />
<parameter name="dns-mock-namespaces" value="App" />
</bootstrap>
</extensions>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit/</directory>
</testsuite>
<testsuite name="Integration">
<directory>./tests/Integration/</directory>
</testsuite>
<testsuite name="Functional">
<directory>./tests/Functional/</directory>
</testsuite>
<testsuite name="E2E">
<directory>./tests/E2E/</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/logs/junit.xml" />
</logging>
<source
ignoreSuppressionOfDeprecations="true"
restrictNotices="true"
restrictWarnings="true"
>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./src/Command</directory>
<directory>./src/DataFixtures</directory>
<directory>./src/Migrations</directory>
<file>./src/Kernel.php</file>
</exclude>
<deprecationTrigger>
<method>Doctrine\Deprecations\Deprecation::trigger</method>
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
</deprecationTrigger>
</source>
</phpunit>