forked from PECE-project/drupal-pece
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpunit.xml
More file actions
64 lines (62 loc) · 3.24 KB
/
Copy pathphpunit.xml
File metadata and controls
64 lines (62 loc) · 3.24 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- See phpunit.xml.dist for full options reference. -->
<!-- SIMPLETEST_DB and SIMPLETEST_BASE_URL must be set as environment variables
(e.g. in CI or a local .env wrapper) — omitting them here prevents the
empty-string values from shadowing real env vars in CI. -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.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>
<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>
</testsuite>
<!-- Kernel tests: require a database, no web server. -->
<testsuite name="kernel">
<directory>web/profiles/pece/modules</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>
</testsuite>
<!-- Functional tests: require a database and a running web server. -->
<testsuite name="functional">
<directory>web/profiles/pece/modules</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>
</testsuite>
</testsuites>
<!-- Source paths for coverage reporting (PCOV/Xdebug). -->
<source>
<include>
<directory suffix=".php">web/profiles/pece/modules</directory>
</include>
<exclude>
<directory>web/profiles/pece/modules/*/tests</directory>
<directory>web/profiles/pece/modules/*/modules/*/tests</directory>
</exclude>
</source>
<php>
<ini name="error_reporting" value="32767"/>
<ini name="memory_limit" value="-1"/>
<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>