-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpunit.xml.dist
34 lines (30 loc) · 1.21 KB
/
phpunit.xml.dist
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" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.2/phpunit.xsd"
backupGlobals="true"
bootstrap="./vendor/autoload.php"
beStrictAboutTestsThatDoNotTestAnything="true"
colors="true"
convertDeprecationsToExceptions="true"
forceCoversAnnotation="true">
<testsuites>
<testsuite name="WPTestUtils">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">./src/</directory>
<exclude>
<file>./src/BrainMonkey/bootstrap.php</file>
<!-- The functionality for WP Integration tests cannot be tested without installing WP. -->
<directory suffix=".php">./src/WPIntegration/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>