-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
73 lines (73 loc) · 4.17 KB
/
phpunit.xml.dist
File metadata and controls
73 lines (73 loc) · 4.17 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- For how to customize PHPUnit configuration, see core/tests/README.md. -->
<!-- PHPUnit expects functional tests to be run with either a privileged user
or your current system user. See core/tests/README.md and
https://www.drupal.org/node/2116263 for details.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="web/core/tests/bootstrap.php"
colors="true"
cacheDirectory=".phpunit.cache">
<testsuites>
<!-- Unit tests: fast, no database required. -->
<testsuite name="unit">
<directory>web/profiles/pece/modules</directory>
<directory>web/modules/custom</directory>
<!-- Exclude non-unit test types at both top-level and nested module depth. -->
<exclude>web/profiles/pece/modules/*/tests/src/Kernel</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/Functional</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Kernel</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Functional</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/modules/custom/*/tests/src/Kernel</exclude>
<exclude>web/modules/custom/*/tests/src/Functional</exclude>
<exclude>web/modules/custom/*/tests/src/FunctionalJavascript</exclude>
</testsuite>
<!-- Kernel tests: require a database, no web server. -->
<testsuite name="kernel">
<directory>web/profiles/pece/modules</directory>
<directory>web/modules/custom</directory>
<exclude>web/profiles/pece/modules/*/tests/src/Unit</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/Functional</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Unit</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Functional</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/modules/custom/*/tests/src/Unit</exclude>
<exclude>web/modules/custom/*/tests/src/Functional</exclude>
<exclude>web/modules/custom/*/tests/src/FunctionalJavascript</exclude>
</testsuite>
<!-- Functional tests: require a database and a running web server. -->
<testsuite name="functional">
<directory>web/profiles/pece/modules</directory>
<directory>web/modules/custom</directory>
<exclude>web/profiles/pece/modules/*/tests/src/Unit</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/Kernel</exclude>
<exclude>web/profiles/pece/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Unit</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/Kernel</exclude>
<exclude>web/profiles/pece/modules/*/modules/*/tests/src/FunctionalJavascript</exclude>
<exclude>web/modules/custom/*/tests/src/Unit</exclude>
<exclude>web/modules/custom/*/tests/src/Kernel</exclude>
<exclude>web/modules/custom/*/tests/src/FunctionalJavascript</exclude>
</testsuite>
</testsuites>
<php>
<!-- Set error reporting to E_ALL. -->
<ini name="error_reporting" value="32767"/>
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
<env name="SIMPLETEST_BASE_URL" value=""/>
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
<env name="SIMPLETEST_DB" value=""/>
<!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value="sites/default/files/simpletest/browser_output"/>
<env name="BROWSERTEST_OUTPUT_BASE_URL" value=""/>
<env name="MINK_DRIVER_CLASS" value=""/>
<env name="MINK_DRIVER_ARGS" value=""/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value=""/>
</php>
</phpunit>