forked from Automattic/sensei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
40 lines (40 loc) · 1.26 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
syntaxCheck="true"
>
<php>
<server name='HTTP_HOST' value='http://localhost' />
<server name="SERVER_NAME" value="http://foo.bar"/>
<server name="SERVER_PORT" value="80"/>
<server name="REMOTE_ADDR" value="127.1.2.3"/>
</php>
<testsuites>
<testsuite name="Sensei Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">./apigen/</directory>
<directory suffix=".php">./tests/</directory>
<directory suffix=".php">./tmp/</directory>
</blacklist>
</filter>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<!-- disable logging for speed purposes
<logging>
<log type="coverage-clover" target="./clover.xml" charset="UTF-8" />
</logging>
-->
</phpunit>