forked from Automattic/WP-Job-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
34 lines (34 loc) · 1.11 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
bootstrap="tests/php/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
syntaxCheck="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>
<directory prefix="test_class." suffix=".php" phpVersion="5.3.0" phpVersionOperator=">=">tests/php/tests/includes/rest-api</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>