forked from WordPress/WordPress-Coding-Standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
38 lines (34 loc) · 1.29 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
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.3/phpunit.xsd"
backupGlobals="true"
bootstrap="./Tests/bootstrap.php"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertDeprecationsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="false"
colors="true"
forceCoversAnnotation="true">
<testsuites>
<testsuite name="WordPress">
<directory suffix="UnitTest.php">./WordPress/Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="false">
<file>./WordPress/Sniff.php</file>
<file>./WordPress/AbstractArrayAssignmentRestrictionsSniff.php</file>
<file>./WordPress/AbstractClassRestrictionsSniff.php</file>
<file>./WordPress/AbstractFunctionParameterSniff.php</file>
<file>./WordPress/AbstractFunctionRestrictionsSniff.php</file>
<directory>./WordPress/Sniffs/</directory>
<directory>./WordPress/Helpers/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>