-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml
64 lines (61 loc) · 2.9 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
64
<?xml version="1.0" encoding="UTF-8"?>
<!-- Using this project's bootstrap file allows tests in `ExistingSite`,
`ExistingSiteSelenium2DriverTest`, and `ExistingSiteWebDriverTest`
to run alongside core's test types. -->
<phpunit bootstrap="./html/core/tests/bootstrap.php">
<php>
<env name="DTT_BASE_URL" value="http://iasc8.docksal.site"/>
<env name="DTT_API_URL" value="http://localhost:9222"/>
<env name="DTT_MINK_DRIVER_ARGS" value='["chrome", null, "http://localhost:4444/wd/hub"]'/>
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/tmp"/>
<!-- To disable deprecation testing completely uncomment the next line. -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
<!-- Specify the default directory screenshots should be placed. -->
<!--<env name="DTT_SCREENSHOT_REPORT_DIRECTORY" value=""/>-->
<!-- ###+ symfony/mailer ### -->
<!-- MAILER_DSN=null://null -->
<!-- ###- symfony/mailer ### -->
</php>
<testsuites>
<testsuite name="unit">
<directory>./html/modules/custom/*/tests/src/Unit</directory>
</testsuite>
<testsuite name="kernel">
<directory>./html/modules/custom/*/tests/src/Kernel</directory>
</testsuite>
<testsuite name="existing-site">
<directory>./html/modules/custom/*/tests/src/ExistingSite</directory>
</testsuite>
<testsuite name="existing-site-javascript">
<directory>./html/modules/custom/*/tests/src/ExistingSiteJavascript</directory>
</testsuite>
</testsuites>
<coverage includeUncoveredFiles="false"
processUncoveredFiles="false"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<include>
<directory suffix=".php">./html/modules/custom</directory>
<directory suffix=".module">./html/modules/custom</directory>
</include>
<exclude>
<directory suffix="Interface.php">./html/modules/custom</directory>
<directory suffix="Constraint.php">./html/modules/custom</directory>
<directory>./html/modules/custom/*/src/Tests</directory>
<directory>./html/modules/custom/*/tests</directory>
<directory>./html/modules/custom/*/*/src/Tests</directory>
<directory>./html/modules/custom/*/*/tests</directory>
<directory>./html/modules/custom/*/src/Exception</directory>
</exclude>
<report>
<html outputDirectory="coverage/html" lowUpperBound="50" highLowerBound="90"/>
<text outputFile="coverage/coverage.txt" showUncoveredFiles="false"/>
<xml outputDirectory="coverage/xml"/>
</report>
</coverage>
<listeners>
<listener class="\Drupal\Tests\Listeners\DrupalListener">
</listener>
</listeners>
</phpunit>