Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
64 lines (64 loc) 路 2.67 KB
/
Copy pathphpunit.xml
File metadata and controls
64 lines (64 loc) 路 2.67 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"?>
<!--
The suites run against the provisioned fixture site in build/ and are
bootstrapped by Drupal's own test bootstrap: the backend layer and the traits
that exercise it resolve Drupal classes from there, and the kernel suite
needs a bootable Drupal. Run them with `ahoy test-unit` and `ahoy test-kernel`.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
bootstrap="build/web/core/tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
colors="true"
executionOrder="depends,defects"
requireCoverageMetadata="true"
beStrictAboutCoverageMetadata="false"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnPhpunitDeprecations="true">
<php>
<ini name="memory_limit" value="-1"/>
<env name="SIMPLETEST_BASE_URL" value="http://nginx"/>
<env name="SIMPLETEST_DB" value="sqlite://localhost/:memory:"/>
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value=".logs/browser_output"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>tests/phpunit/src/</directory>
<exclude>tests/phpunit/src/Kernel</exclude>
</testsuite>
<testsuite name="kernel">
<directory>tests/phpunit/src/Kernel</directory>
</testsuite>
</testsuites>
<source restrictNotices="true"
restrictWarnings="true"
ignoreIndirectDeprecations="true">
<include>
<directory>src</directory>
<file>docs.php</file>
<file>scripts/lint-layers.php</file>
<file>scripts/lint-traits.php</file>
<file>scripts/provision.php</file>
</include>
<exclude>
<directory>tests/phpunit/src</directory>
</exclude>
</source>
<coverage pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="false">
<report>
<html outputDirectory=".logs/coverage/phpunit/.coverage-html" lowUpperBound="50" highLowerBound="90"/>
<cobertura outputFile=".logs/coverage/phpunit/cobertura.xml"/>
</report>
</coverage>
<logging>
<junit outputFile=".logs/phpunit/junit.xml"/>
</logging>
</phpunit>