-
Notifications
You must be signed in to change notification settings - Fork 368
/
phpunit.xml.dist
32 lines (32 loc) · 982 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/php/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
>
<php>
<const name="PHPUNIT_WPJM_TESTSUITE" value="true"/>
<const name='HTTP_HOST' value='http://localhost' />
<const name="SERVER_NAME" value="http://foo.bar"/>
<const name="SERVER_PORT" value="80"/>
<const name="REMOTE_ADDR" value="127.0.0.2"/>
</php>
<testsuites>
<testsuite name="WPJM Test Suite">
<directory prefix="test_class." suffix=".php">tests/php/tests</directory>
<directory prefix="test-class-" suffix=".php">lib/usage-tracking/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>