forked from 418sec/forkcms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
102 lines (98 loc) · 5.43 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="autoload.php"
stderr="true"
>
<testsuites>
<testsuite name="installer">
<directory>src/ForkCMS/Bundle/InstallerBundle/Tests</directory>
</testsuite>
<testsuite name="unit">
<directory>src/*/*Bundle/Tests</directory>
<directory>src/*/Bundle/*Bundle/Tests</directory>
<directory>src/*Bundle/Tests</directory>
<directory>src/Backend/Core/Tests</directory>
<directory>src/Backend/Modules/*/Tests</directory>
<directory>src/Frontend/Core/Tests</directory>
<directory>src/Common/Tests</directory>
<exclude>src/ForkCMS/Bundle/InstallerBundle/Tests/Controller</exclude>
<exclude>src/Frontend/Modules/*/Tests</exclude>
<exclude>src/Frontend/Modules/Blog/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/ContentBlocks/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Faq/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/FormBuilder/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Location/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Mailmotor/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Pages/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Profiles/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Search/Tests/Actions</exclude>
<exclude>src/Frontend/Modules/Tags/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Analytics/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Authentication/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Blog/Tests/Actions</exclude>
<exclude>src/Backend/Modules/ContentBlocks/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Dashboard/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Error/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Extensions/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Faq/Tests/Actions</exclude>
<exclude>src/Backend/Modules/FormBuilder/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Groups/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Locale/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Location/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Pages/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Mailmotor/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Pages/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Profiles/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Search/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Settings/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Tags/Tests/Actions</exclude>
<exclude>src/Backend/Modules/Users/Tests/Actions</exclude>
<exclude>src/Frontend/Core/Tests/AjaxTest.php</exclude>
</testsuite>
<testsuite name="functional">
<directory>src/Backend/Modules/*/Tests/Actions</directory>
<directory>src/*/*Bundle/Tests/Controller</directory>
<directory>src/*/Bundle/*Bundle/Tests/Controller</directory>
<directory>src/*Bundle/Tests/Controller</directory>
<directory>src/Frontend/Modules/*/Tests/Actions</directory>
<directory>src/Frontend/Core/Tests/AjaxTest.php</directory>
<exclude>src/ForkCMS/Bundle/InstallerBundle/Tests</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>src/*/*Bundle/Resources</directory>
<directory>src/*/*Bundle/Tests</directory>
<directory>src/*/Bundle/*Bundle/Resources</directory>
<directory>src/*/Bundle/*Bundle/Tests</directory>
<directory>src/*Bundle/Resources</directory>
<directory>src/*Bundle/Tests</directory>
<directory>src/Backend/Cache</directory>
<directory>src/Backend/Core/Js</directory>
<directory>src/Backend/Core/Tests</directory>
<directory>src/Backend/Core/Installer</directory>
<directory>src/Backend/Modules/*/DataFixtures</directory>
<directory>src/Backend/Modules/*/Installer</directory>
<directory>src/Backend/Modules/*/Tests</directory>
<directory>src/Common/Tests</directory>
<directory>src/Frontend/Cache</directory>
<directory>src/Frontend/Core/Tests</directory>
<directory>src/Frontend/Modules/*/DataFixtures</directory>
<directory>src/Frontend/Modules/*/Tests</directory>
<file>src/Common/WebTestCase.php</file>
</exclude>
</whitelist>
</filter>
<php>
<server name="KERNEL_DIR" value="app/" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<env name="FORK_ENV" value="test" />
<env name="FORK_DEBUG" value="1" />
</php>
</phpunit>