-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
34 lines (33 loc) · 1 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
34 lines (33 loc) · 1 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
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="true"
verbose="true"
>
<testsuites>
<testsuite name="wp-rest-cache">
<directory suffix=".php">./tests/</directory>
<exclude>./tests/bootstrap.php</exclude>
<exclude>./tests/bootstrap-multisite.php</exclude>
<exclude>./tests/class-caching-test-case.php</exclude>
<exclude>./tests/multisite</exclude>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./includes</directory>
<directory suffix=".php">./admin</directory>
</include>
<exclude>
<directory suffix=".php">./includes/cli</directory>
<directory suffix=".php">./admin/partials</directory>
</exclude>
</coverage>
</phpunit>