-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
41 lines (41 loc) · 1.29 KB
/
phpunit.xml
File metadata and controls
41 lines (41 loc) · 1.29 KB
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
41
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="unit">
<directory>tests/unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/integration</directory>
</testsuite>
<testsuite name="api">
<directory>tests/api</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">includes</directory>
</include>
<exclude>
<directory>vendor</directory>
<directory>tests</directory>
</exclude>
</coverage>
<php>
<const name="WP_TESTS_DOMAIN" value="example.org" />
<const name="WP_TESTS_EMAIL" value="admin@example.org" />
<const name="WP_TESTS_TITLE" value="Test Blog" />
<const name="WP_PHP_BINARY" value="php" />
<const name="WP_TESTS_FORCE_KNOWN_BUGS" value="true" />
<server name="SERVER_NAME" value="http://example.org" />
</php>
</phpunit>