forked from City-of-Helsinki/drupal-helfi-strategia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.platform.xml
58 lines (58 loc) · 2.66 KB
/
phpunit.platform.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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./public/core/tests/bootstrap.php" colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutCoversAnnotation="false"
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="public/sites/simpletest"/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["chrome", {"browserName":"chrome","chromeOptions":{"w3c": false, "args":["--disable-gpu","--headless", "--no-sandbox"]}}, "http://127.0.0.1:4444"]' />
</php>
<testsuites>
<testsuite name="unit">
<directory>./public/modules/contrib/*/tests/src/Unit</directory>
<directory>./public/themes/contrib/*/tests/src/Unit</directory>
<directory>./public/profiles/contrib/*/tests/src/Unit</directory>
</testsuite>
<testsuite name="kernel">
<directory>./public/modules/contrib/*/tests/src/Kernel</directory>
<directory>./public/themes/contrib/*/tests/src/Kernel</directory>
<directory>./public/profiles/contrib/*/tests/src/Kernel</directory>
</testsuite>
<testsuite name="functional">
<directory>./public/modules/contrib/*/tests/src/Functional</directory>
<directory>./public/themes/contrib/*/tests/src/Functional</directory>
<directory>./public/profiles/contrib/*/tests/src/Functional</directory>
</testsuite>
<testsuite name="functional-javascript">
<directory>./public/modules/contrib/*/tests/src/FunctionalJavascript</directory>
<directory>./public/themes/contrib/*/tests/src/FunctionalJavascript</directory>
<directory>./public/profiles/contrib/*/tests/src/FunctionalJavascript</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Drupal\Tests\Listeners\DrupalListener">
</listener>
</listeners>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./public/modules/contrib/*/src</directory>
<directory suffix=".php">./public/themes/contrib/*/src</directory>
<directory suffix=".php">./public/profiles/contrib/*/src</directory>
<file>./public/modules/contrib/*/*.module</file>
<file>./public/themes/contrib/*/*.theme</file>
<file>./public/profiles/contrib/*/*.profile</file>
</include>
<exclude>
<directory>./public/modules/contrib/*/src/Tests</directory>
<directory>./public/themes/contrib/*/src/Tests</directory>
<directory>./public/profiles/contrib/*/src/Tests</directory>
</exclude>
</coverage>
</phpunit>