Repository navigation
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
43 lines (41 loc) · 1.54 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
43 lines (41 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
<?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">
<php>
<!-- Report everything, deprecations included, whatever the php.ini says. -->
<ini name="error_reporting" value="-1"/>
<!-- 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>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit/</directory>
</testsuite>
<testsuite name="integration">
<directory suffix="Test.php">./tests/Integration/</directory>
</testsuite>
</testsuites>
<coverage cacheDirectory=".phpunit.cache/code-coverage">
<include>
<file>push-syndication.php</file>
<directory suffix=".php">includes</directory>
</include>
<report>
<text outputFile="php://stdout"/>
<clover outputFile=".phpunit.cache/clover.xml"/>
</report>
</coverage>
</phpunit>