-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
37 lines (33 loc) · 1.2 KB
/
phpunit.xml
File metadata and controls
37 lines (33 loc) · 1.2 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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="WC_Percentage_Shipping">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">includes/</directory>
<directory suffix=".php">.</directory>
<exclude>
<directory>tests/</directory>
<directory>vendor/</directory>
<file>phpunit.xml</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="tests/coverage"/>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
</logging>
<php>
<env name="WP_TESTS_DIR" value="/tmp/wordpress-tests-lib"/>
<env name="WP_CORE_DIR" value="/tmp/wordpress/"/>
</php>
</phpunit>