| 1 |
<phpunit |
| 2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 |
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.1/phpunit.xsd" |
| 4 |
backupGlobals="true" |
| 5 |
backupStaticAttributes="false" |
| 6 |
colors="true" |
| 7 |
stopOnError="false" |
| 8 |
stopOnFailure="false" |
| 9 |
stopOnIncomplete="false" |
| 10 |
stopOnSkipped="false" |
| 11 |
stopOnRisky="false" |
| 12 |
verbose="true"> |
| 13 |
<testsuites> |
| 14 |
<testsuite name="Omise WooCommerce Test Suite"> |
| 15 |
<directory suffix="-test.php">tests/unit</directory> |
| 16 |
<directory suffix="Test.php">tests/unit</directory> |
| 17 |
</testsuite> |
| 18 |
</testsuites> |
| 19 |
<coverage> |
| 20 |
<include> |
| 21 |
<directory suffix=".php">./*</directory> |
| 22 |
</include> |
| 23 |
<exclude> |
| 24 |
<directory>tests</directory> |
| 25 |
<directory>vendor</directory> |
| 26 |
<directory>node_modules</directory> |
| 27 |
<directory>wp-content</directory> |
| 28 |
<directory>includes/libraries/omise-php</directory> |
| 29 |
</exclude> |
| 30 |
</coverage> |
| 31 |
<php> |
| 32 |
<server name="HTTP_CLIENT_IP" value="192.168.1.1"/> |
| 33 |
<server name="HTTP_X_FORWARDED_FOR" value="192.168.1.2"/> |
| 34 |
<server name="HTTP_X_FORWARDED" value="192.168.1.3"/> |
| 35 |
<server name="HTTP_FORWARDED_FOR" value="192.168.1.4"/> |
| 36 |
<server name="HTTP_FORWARDED" value="192.168.1.5"/> |
| 37 |
<server name="REMOTE_ADDR" value="192.168.1.6"/> |
| 38 |
</php> |
| 39 |
</phpunit> |
| 40 |
|