-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
51 lines (49 loc) · 2.02 KB
/
phpunit.xml.dist
File metadata and controls
51 lines (49 loc) · 2.02 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
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
cacheResultFile=".phpunit.result.cache"
executionOrder="depends,defects"
forceCoversAnnotation="false"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="false"
failOnRisky="true"
failOnWarning="true"
verbose="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory suffix=".stub">./src/stubs</directory>
</exclude>
</coverage>
<php>
<env name="WP_TESTS_DIR" value="/tmp/wordpress-tests-lib"/>
<env name="WP_CORE_DIR" value="/tmp/wordpress/"/>
<env name="WP_TESTS_DOMAIN" value="example.org"/>
<env name="WP_TESTS_EMAIL" value="admin@example.org"/>
<env name="WP_TESTS_TITLE" value="Test Blog"/>
<env name="WP_PHP_BINARY" value="php"/>
<env name="WPLANG" value=""/>
<env name="WP_DEBUG" value="true"/>
<env name="WP_MULTISITE" value="0"/>
<env name="WP_TESTS_TABLE_PREFIX" value="wptests_"/>
<env name="WP_TESTS_DB_NAME" value="wordpress_test"/>
<env name="WP_TESTS_DB_USER" value="root"/>
<env name="WP_TESTS_DB_PASSWORD" value=""/>
<env name="WP_TESTS_DB_HOST" value="localhost"/>
<env name="WP_TESTS_DB_CHARSET" value="utf8"/>
<env name="WP_TESTS_DB_COLLATE" value=""/>
</php>
</phpunit>