Repository navigation
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
46 lines (44 loc) · 1.54 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
46 lines (44 loc) · 1.54 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
cacheResultFile=".phpunit.cache/test-results"
executionOrder="depends,defects"
forceCoversAnnotation="false"
beStrictAboutCoversAnnotation="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
colors="true"
failOnRisky="true"
failOnWarning="true"
testdox="true"
verbose="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit/</directory>
</testsuite>
<testsuite name="integration">
<directory suffix="Test.php">./tests/Integration/</directory>
</testsuite>
</testsuites>
<php>
<!-- wp-env runs as one environment, so the tests share the development site's database. The test suite drops and reinstalls every table with its prefix, so give the tests their own. wp-env's wp-config.php reads this variable. -->
<env name="WORDPRESS_TABLE_PREFIX" value="wptests_"/>
</php>
<coverage cacheDirectory=".phpunit.cache/code-coverage"
processUncoveredFiles="true">
<include>
<directory suffix=".php">.</directory>
</include>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
<directory>./node_modules</directory>
</exclude>
<report>
<text outputFile="php://stdout"/>
<clover outputFile=".phpunit.cache/clover.xml"/>
</report>
</coverage>
</phpunit>