forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
133 lines (124 loc) · 7.66 KB
/
phpunit.xml.dist
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
bootstrap="src/Core/TestBootstrap.php"
cacheResult="false"
executionOrder="random"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
cacheDirectory=".phpunit.cache">
<coverage includeUncoveredFiles="true"/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<file>src/Administration/Events/PreResetExcludedSearchTermEvent.php</file>
<directory suffix="Definition.php">src/Administration/Notification/</directory>
<directory suffix="Entity.php">src/Administration/Notification/</directory>
<directory suffix="Event.php">src/Administration/Notification/</directory>
<directory suffix="Field.php">src/Administration/Notification/</directory>
<directory suffix="Struct.php">src/Administration/Notification/</directory>
<directory suffix="Collection.php">src/Administration/Notification/</directory>
<directory suffix="Definition.php">src/Administration/Snippet/</directory>
<directory suffix="Entity.php">src/Administration/Snippet/</directory>
<directory suffix="Event.php">src/Administration/Snippet/</directory>
<directory suffix="Field.php">src/Administration/Snippet/</directory>
<directory suffix="Struct.php">src/Administration/Snippet/</directory>
<directory suffix="Collection.php">src/Administration/Snippet/</directory>
<file>src/Core/Framework/Adapter/Twig/functions.php</file>
<directory suffix=".php">src/Core/Test/Integration/Builder</directory>
<directory suffix=".php">src/Core/Framework/Test</directory>
<directory suffix=".php">src/Core/Framework/Telemetry/Metrics/Metric</directory>
<directory suffix=".php">src/Core/Content/Test</directory>
<directory suffix=".php">src/Core/Content/Cms/DataResolver/ResolverContext/</directory>
<directory suffix=".php">src/Core/Content/Cms/Extension/</directory>
<directory suffix=".php">src/Core/DevOps/StaticAnalyze</directory>
<directory suffix=".php">src/Core/DevOps/Test/Command/stubs</directory>
<directory suffix=".php">src/Core/DevOps/Test/Environment</directory>
<directory suffix=".php">src/Core/Migration/Test</directory>
<directory suffix=".php">src/Elasticsearch/Test</directory>
<directory suffix=".php">src/Storefront/Test</directory>
<directory suffix="Definition.php">src/Core/</directory>
<directory suffix="Entity.php">src/Core/</directory>
<directory suffix="Event.php">src/Core/</directory>
<directory suffix="Field.php">src/Core/</directory>
<directory suffix="Struct.php">src/Core/</directory>
<directory suffix="Collection.php">src/Core/</directory>
<directory suffix="Definition.php">src/Storefront/Checkout</directory>
<directory suffix="Entity.php">src/Storefront/Checkout</directory>
<directory suffix="Event.php">src/Storefront/Checkout</directory>
<directory suffix="Field.php">src/Storefront/Checkout</directory>
<directory suffix="Struct.php">src/Storefront/Checkout</directory>
<directory suffix="Collection.php">src/Storefront/Checkout</directory>
<directory suffix="Event.php">src/Storefront/Event</directory>
<directory suffix="Definition.php">src/Storefront/Framework</directory>
<directory suffix="Entity.php">src/Storefront/Framework</directory>
<directory suffix="Event.php">src/Storefront/Framework</directory>
<directory suffix="Field.php">src/Storefront/Framework</directory>
<directory suffix="Struct.php">src/Storefront/Framework</directory>
<directory suffix="Collection.php">src/Storefront/Framework</directory>
<directory suffix="Definition.php">src/Storefront/Page</directory>
<directory suffix="Entity.php">src/Storefront/Page</directory>
<directory suffix="Event.php">src/Storefront/Page</directory>
<directory suffix="Field.php">src/Storefront/Page</directory>
<directory suffix="Struct.php">src/Storefront/Page</directory>
<directory suffix="Collection.php">src/Storefront/Page</directory>
<directory suffix="Definition.php">src/Storefront/Pagelet</directory>
<directory suffix="Entity.php">src/Storefront/Pagelet</directory>
<directory suffix="Event.php">src/Storefront/Pagelet</directory>
<directory suffix="Field.php">src/Storefront/Pagelet</directory>
<directory suffix="Struct.php">src/Storefront/Pagelet</directory>
<directory suffix="Collection.php">src/Storefront/Pagelet</directory>
<directory suffix="Definition.php">src/Storefront/Theme</directory>
<directory suffix="Entity.php">src/Storefront/Theme</directory>
<directory suffix="Event.php">src/Storefront/Theme</directory>
<directory suffix="Field.php">src/Storefront/Theme</directory>
<directory suffix="Struct.php">src/Storefront/Theme</directory>
<directory suffix="Collection.php">src/Storefront/Theme</directory>
</exclude>
</source>
<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<server name="KERNEL_CLASS" value="Shopware\Core\Kernel"/>
<env name="APP_ENV" value="test"/>
<env name="APP_DEBUG" value="1"/>
<env name="APP_SECRET" value="def00000bb5acb32b54ff8ee130270586eec0e878f7337dc7a837acc31d3ff00f93a56b595448b4b29664847dd51991b3314ff65aeeeb761a133b0ec0e070433bff08e48"/>
<env name="SHOPWARE_HTTP_CACHE_ENABLED" value="0"/>
<env name="SHELL_VERBOSITY" value="-1"/>
<server name="TESTS_RUNNING" value="1"/>
<server name="MAILER_URL" value="null://localhost"/>
<server name="HTTPS" value="off"/>
<!--To see the full stackTrace of a Deprecation set the value to a regex matching the deprecation warning-->
<!--https://symfony.com/doc/current/components/phpunit_bridge.html#display-the-full-stack-trace-->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&ignoreFile=./deprecation.ignore" />
</php>
<testsuites>
<testsuite name="unit">
<directory>tests/unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/integration</directory>
</testsuite>
<testsuite name="devops">
<directory>tests/devops</directory>
</testsuite>
<testsuite name="migration">
<directory>tests/migration</directory>
</testsuite>
<!-- Paratest -->
<testsuite name="paratest">
<directory>src/Core/*/Test</directory>
<directory>src/*/Test</directory>
<directory>tests/unit</directory>
</testsuite>
</testsuites>
<extensions>
<bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
<bootstrap class="Shopware\Core\Test\PHPUnit\Extension\FeatureFlag\FeatureFlagExtension"/>
<bootstrap class="Shopware\Core\Test\PHPUnit\Extension\Datadog\DatadogExtension"/>
<!-- Enable to see the db side effects of the tests. -->
<!-- <bootstrap class="Shopware\Core\Test\PHPUnit\Extension\DatabaseDiff\DatabaseDiffExtension"/>-->
</extensions>
</phpunit>