-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
64 lines (63 loc) · 2.72 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./core/tests/bootstrap.php" colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutCoversAnnotation="false"
stopOnSkipped="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="BROWSERTEST_OUTPUT_DIRECTORY" value="sites/simpletest"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>./modules/custom/*/tests/src/Unit</directory>
<directory>./themes/custom/*/tests/src/Unit</directory>
<directory>./profiles/custom/*/tests/src/Unit</directory>
</testsuite>
<testsuite name="kernel">
<directory>./modules/custom/*/tests/src/Kernel</directory>
<directory>./themes/custom/*/tests/src/Kernel</directory>
<directory>./profiles/custom/*/tests/src/Kernel</directory>
</testsuite>
<testsuite name="functional">
<directory>./modules/custom/*/tests/src/Functional</directory>
<directory>./themes/custom/*/tests/src/Functional</directory>
<directory>./profiles/custom/*/tests/src/Functional</directory>
</testsuite>
<testsuite name="functional-javascript">
<directory>./modules/custom/*/tests/src/FunctionalJavascript</directory>
<directory>./themes/custom/*/tests/src/FunctionalJavascript</directory>
<directory>./profiles/custom/*/tests/src/FunctionalJavascript</directory>
</testsuite>
<testsuite name="existing-site">
<directory>./modules/custom/*/tests/src/ExistingSite</directory>
</testsuite>
<testsuite name="existing-site-javascript">
<directory>./modules/custom/*/tests/src/ExistingSiteJavascript</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Drupal\Tests\Listeners\DrupalListener">
</listener>
</listeners>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./modules/custom/*/src</directory>
<directory suffix=".php">./themes/custom/*/src</directory>
<directory suffix=".php">./profiles/custom/*/src</directory>
<file>./modules/custom/*/*.module</file>
<file>./themes/custom/*/*.theme</file>
<file>./profiles/custom/*/*.profile</file>
<exclude>
<directory>./modules/custom/*/src/Tests</directory>
<directory>./themes/custom/*/src/Tests</directory>
<directory>./profiles/custom/*/src/Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>