-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
45 lines (45 loc) 路 1.85 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
45 lines (45 loc) 路 1.85 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
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.2/phpunit.xsd"
bootstrap="plugins/presence-api/tests/bootstrap.php"
backupGlobals="false"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
>
<testsuites>
<testsuite name="presence-api">
<directory suffix=".php">plugins/presence-api/tests/</directory>
<exclude>plugins/presence-api/tests/stubs</exclude>
<exclude>plugins/presence-api/tests/bootstrap.php</exclude>
<exclude>plugins/presence-api/tests/class-wp-presence-unittestcase.php</exclude>
<exclude>plugins/presence-api/tests/class-wp-presence-network-unittestcase.php</exclude>
</testsuite>
<testsuite name="presence-scenes">
<directory prefix="test-" suffix=".php">plugins/presence-scenes/</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">plugins/presence-api/includes/</directory>
<directory suffix=".php">plugins/presence-scenes/</directory>
</include>
<exclude>
<!--
WP_DEBUG-only developer tools. Excluded from the distributed zip via
.distignore and from codecov.yml, so they are not measured as shipped
product code either. scripts/check-debug-exclusions.sh checks all three
lists agree.
-->
<file>plugins/presence-api/includes/db-viewer.php</file>
<file>plugins/presence-api/includes/debugger-admin-bar.php</file>
<!-- Only register hooks, and run during bootstrap before coverage starts. -->
<file>plugins/presence-api/includes/default-filters.php</file>
<file>plugins/presence-api/includes/ms-default-filters.php</file>
<file>plugins/presence-scenes/load.php</file>
<file>plugins/presence-scenes/uninstall.php</file>
<directory>plugins/presence-scenes/tests/</directory>
</exclude>
</coverage>
</phpunit>