forked from microweber/microweber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
128 lines (101 loc) · 4.87 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
stopOnFailure="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
stopOnSkipped="false"
stopOnRisky="false"
stopOnIncomplete="false"
stopOnDeprecation="false"
failOnEmptyTestSuite="false"
failOnDeprecation="false"
failOnIncomplete="false"
failOnNotice="false"
failOnRisky="false"
failOnSkipped="false"
failOnWarning="false"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Core">
<directory>./src/MicroweberPackages/Core/</directory>
</testsuite>
<testsuite name="MicroweberModulesTests">
<directory>./userfiles/modules/*/tests/</directory>
<exclude>./userfiles/templates/*/src/tests/Browser/</exclude>
<exclude>./userfiles/modules/*/src/tests/Browser/</exclude>
</testsuite>
<testsuite name="MicroweberTemplatesTests">
<directory>./userfiles/templates/*/tests/</directory>
<directory>./userfiles/templates/*/src/tests/</directory>
<exclude>./userfiles/templates/*/src/tests/Browser/</exclude>
<exclude>./userfiles/modules/admin/import_export_tool/src/tests/</exclude>
</testsuite>
<testsuite name="MicroweberCoreTestsAll">
<directory>./src/MicroweberPackages/*/tests/</directory>
<directory>./userfiles/modules/*/*/src/tests/</directory>
<exclude>./src/MicroweberPackages/Multilanguage/tests/*</exclude>
<exclude>./src/MicroweberPackages/Helper/tests/*</exclude>
<exclude>./src/MicroweberPackages/User/tests/*</exclude>
<exclude>./userfiles/modules/admin/import_export_tool/src/tests/</exclude>
<exclude>./userfiles/modules/*/src/tests/Browser/</exclude>
<exclude>./src/MicroweberPackages/*/tests/Browser/</exclude>
</testsuite>
<testsuite name="MicroweberModulesImportToolTests">
<directory>./userfiles/modules/admin/import_export_tool/src/tests/</directory>
<exclude>./userfiles/modules/*/src/tests/Browser/</exclude>
</testsuite>
<!-- <testsuite name="MicroweberTestMultilanguage">-->
<!-- <directory>./src/MicroweberPackages/Multilanguage/tests/</directory>-->
<!-- -->
<!-- </testsuite>-->
<!-- <testsuite name="MicroweberTestUser">-->
<!-- <directory>./src/MicroweberPackages/User/tests/</directory>-->
<!-- </testsuite>-->
<testsuite name="MicroweberModuleListTests">
<directory>./src/MicroweberPackages/Module/slow_tests/</directory>
<exclude>./src/MicroweberPackages/*/tests/Browser/</exclude>
<exclude>./userfiles/modules/*/tests/Browser/</exclude>
</testsuite>
<testsuite name="MicroweberModulesTests">
<directory>./userfiles/modules/*/tests/</directory>
<directory>./userfiles/modules/*/src/tests/</directory>
<exclude>./src/MicroweberPackages/*/tests/Browser/</exclude>
<exclude>./src/MicroweberPackages/*/src/tests/Browser/</exclude>
<exclude>./userfiles/modules/admin/import_export_tool/src/tests/</exclude>
<exclude>./userfiles/modules/*/tests/Browser/</exclude>
<exclude>./userfiles/modules/*/src/tests/Browser/</exclude>
</testsuite>
<testsuite name="MicroweberSlowTests">
<directory>./src/MicroweberPackages/Helper/tests/*</directory>
<directory>./src/MicroweberPackages/App/tests/*</directory>
<exclude>./src/MicroweberPackages/*/tests/Browser/</exclude>
<exclude>./userfiles/modules/*/tests/Browser/</exclude>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
<directory>src</directory>
</include>
</source>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="SESSION_DRIVER" value="array"/>
<ini name="memory_limit" value="-1"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<ini name="display_errors" value="On"/>
<ini name="display_startup_errors" value="On"/>
</php>
</phpunit>