-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpunit.xml
24 lines (24 loc) · 728 Bytes
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit Test Suite">
<directory>./tests/Unit/</directory>
</testsuite>
</testsuites>
<php>
<env name="WP_PEST_TESTING" value="true" force="true" />
</php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="tests/coverage/clover.xml"/>
<html outputDirectory="tests/coverage/html" lowUpperBound="50" highLowerBound="90"/>
</report>
</coverage>
</phpunit>