| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 |
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" |
| 4 |
bootstrap="tests/bootstrap.php" |
| 5 |
colors="true" |
| 6 |
> |
| 7 |
<testsuites> |
| 8 |
<testsuite name="Unit Test Suite"> |
| 9 |
<directory>./tests/Unit/</directory> |
| 10 |
</testsuite> |
| 11 |
<testsuite name="Integration Test Suite"> |
| 12 |
<directory>./tests/Integration/</directory> |
| 13 |
</testsuite> |
| 14 |
</testsuites> |
| 15 |
<php> |
| 16 |
<env name="TEST" value="true" force="true" /> |
| 17 |
<env name="WP_TESTS_DIR" value="wp/tests/phpunit"/> |
| 18 |
<server name="DB_NAME" value="wp_pest_test_db"/> |
| 19 |
<server name="DB_USER" value="root"/> |
| 20 |
<server name="DB_PASSWORD" value=""/> |
| 21 |
<server name="DB_HOST" value="localhost"/> |
| 22 |
</php> |
| 23 |
<coverage processUncoveredFiles="true"> |
| 24 |
<include> |
| 25 |
<directory suffix=".php">./src</directory> |
| 26 |
</include> |
| 27 |
<report> |
| 28 |
<clover outputFile="tests/coverage/clover.xml"/> |
| 29 |
<html outputDirectory="tests/coverage/html" lowUpperBound="50" highLowerBound="90"/> |
| 30 |
</report> |
| 31 |
</coverage> |
| 32 |
</phpunit> |
| 33 |
|