forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
96 lines (81 loc) · 3.68 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.0/phpunit.xsd"
bootstrap="src/Core/TestBootstrap.php"
cacheResult="false"
cacheTokens="false"
executionOrder="random"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="Shopware\Development\Kernel"/>
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="APP_SECRET" value="s$cretf0rt3st" />
<env name="SHELL_VERBOSITY" value="-1" />
<!--ToDo: remove this line after https://github.com/dompdf/dompdf/issues/2003 is closed -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<!--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="/A tree builder without a root node is deprecated since Symfony 4\.2 and will not be supported anymore in 5\.0\./" />-->
</php>
<testsuites>
<testsuite name="administration">
<directory>src/Administration</directory>
</testsuite>
<testsuite name="storefront">
<directory>src/Storefront</directory>
</testsuite>
<testsuite name="checkout">
<directory>src/Core/Checkout</directory>
</testsuite>
<testsuite name="content">
<directory>src/Core/Content</directory>
</testsuite>
<testsuite name="framework">
<directory>src/Core/Framework</directory>
</testsuite>
<testsuite name="migration">
<directory>src/Core/Migration</directory>
</testsuite>
<testsuite name="system">
<directory>src/Core/System</directory>
</testsuite>
<testsuite name="elasticsearch">
<directory>src/Elasticsearch</directory>
</testsuite>
<testsuite name="docs">
<directory suffix="example.php">src/Docs/Resources/current/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/Administration</directory>
<directory suffix=".php">./src/Core</directory>
<directory suffix=".php">./src/Storefront</directory>
<exclude>
<directory suffix=".php">./src/**/Test</directory>
<directory suffix=".php">./src/Core/**/Test</directory>
<directory suffix=".php">./src/Core/Migration</directory>
<directory suffix=".php">./src/Core/Flag</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<!-- set this option to 0 to disable the DebugClassLoader integration -->
<element key="debug-class-loader"><integer>0</integer></element>
</array>
</arguments>
</listener>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
<!--Enable to see Test structure violations. (Not formatted) -->
<!--<listener class="Shopware\Core\Framework\Test\TestCaseBase\TestValidityListener" />-->
</listeners>
<!--Enable to see the db sideeffects of the tests. -->
<!--<extensions>
<extension class="Shopware\Core\Framework\Test\TestCaseBase\DatabaseCleanTestExtension"></extension>
</extensions>-->
</phpunit>