-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpunit.xml.dist
75 lines (75 loc) · 3.78 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./public/core/tests/bootstrap.php" colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutCoversAnnotation="false"
failOnRisky="true"
failOnWarning="true"
failOnSkipped="true"
verbose="true"
printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter"
>
<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"/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"w3c": true, "args":["--no-sandbox", "--ignore-certificate-errors", "--allow-insecure-localhost", "--headless", "--dns-prefetch-disable"]}}, "http://chromium:4444"]' />
<env name="DTT_MINK_DRIVER_ARGS" value='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"w3c": true, "args":["--no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost", "--headless", "--dns-prefetch-disable"]}}, "http://chromium:4444"]'/>
<env name="DTT_API_OPTIONS" value='{"socketTimeout": 360, "domWaitTimeout": 3600000}' />
<env name="DTT_API_URL" value="http://chromium:9222"/>
<env name="DTT_BASE_URL" value="https://app"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>./public/modules/custom/*/tests/src/Unit</directory>
<directory>./public/themes/custom/*/tests/src/Unit</directory>
<directory>./public/profiles/custom/*/tests/src/Unit</directory>
</testsuite>
<testsuite name="kernel">
<directory>./public/modules/custom/*/tests/src/Kernel</directory>
<directory>./public/themes/custom/*/tests/src/Kernel</directory>
<directory>./public/profiles/custom/*/tests/src/Kernel</directory>
</testsuite>
<testsuite name="functional">
<directory>./public/modules/custom/*/tests/src/Functional</directory>
<directory>./public/themes/custom/*/tests/src/Functional</directory>
<directory>./public/profiles/custom/*/tests/src/Functional</directory>
</testsuite>
<testsuite name="functional-javascript">
<directory>./public/modules/custom/*/tests/src/FunctionalJavascript</directory>
<directory>./public/themes/custom/*/tests/src/FunctionalJavascript</directory>
<directory>./public/profiles/custom/*/tests/src/FunctionalJavascript</directory>
</testsuite>
<testsuite name="existing-site">
<directory>./tests/dtt/src/ExistingSite</directory>
<directory>./public/modules/custom/*/tests/src/ExistingSite</directory>
<directory>./public/modules/contrib/*/tests/src/ExistingSite</directory>
</testsuite>
<testsuite name="existing-site-javascript">
<directory>./tests/dtt/src/ExistingSiteJavascript</directory>
<directory>./public/modules/custom/*/tests/src/ExistingSiteJavascript</directory>
<directory>./public/modules/contrib/*/tests/src/ExistingSiteJavascript</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Drupal\Tests\Listeners\DrupalListener">
</listener>
</listeners>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./public/modules/custom/*/src</directory>
<directory suffix=".php">./public/themes/custom/*/src</directory>
<directory suffix=".php">./public/profiles/custom/*/src</directory>
<file>./public/modules/custom/*/*.module</file>
<file>./public/themes/custom/*/*.theme</file>
<file>./public/profiles/custom/*/*.profile</file>
</include>
<exclude>
<directory>./public/modules/custom/*/src/Tests</directory>
<directory>./public/themes/custom/*/src/Tests</directory>
<directory>./public/profiles/custom/*/src/Tests</directory>
</exclude>
</coverage>
</phpunit>