-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
50 lines (44 loc) · 1.52 KB
/
phpunit.xml
File metadata and controls
50 lines (44 loc) · 1.52 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
<?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"
colors="true"
verbose="true"
stopOnFailure="false"
stopOnError="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true">
<testsuites>
<testsuite name="Silver Assist Post Revalidate Test Suite">
<directory suffix="Test.php">./tests/Unit</directory>
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./Includes</directory>
</include>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
</exclude>
</coverage>
<php>
<!-- WordPress Test Suite Directory -->
<env name="WP_TESTS_DIR" value="/tmp/wordpress-tests-lib"/>
<!-- Database Configuration for Tests -->
<server name="DB_NAME" value="wordpress_test"/>
<server name="DB_USER" value="root"/>
<server name="DB_PASSWORD" value=""/>
<server name="DB_HOST" value="localhost"/>
<!-- Environment Variables -->
<env name="WP_ENVIRONMENT_TYPE" value="test"/>
<env name="WP_DEBUG" value="true"/>
<env name="WP_DEBUG_LOG" value="false"/>
<env name="WP_DEBUG_DISPLAY" value="false"/>
<env name="SCRIPT_DEBUG" value="false"/>
<!-- WordPress Test Configuration -->
<const name="WP_TESTS_PHPUNIT_POLYFILLS_PATH" value="vendor/yoast/phpunit-polyfills"/>
</php>
</phpunit>