2014-09-01 06:03:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit
|
|
|
|
bootstrap="tests/bootstrap.php"
|
|
|
|
backupGlobals="false"
|
|
|
|
colors="true"
|
|
|
|
convertErrorsToExceptions="true"
|
|
|
|
convertNoticesToExceptions="true"
|
|
|
|
convertWarningsToExceptions="true"
|
|
|
|
verbose="true"
|
2016-02-11 19:44:44 +00:00
|
|
|
syntaxCheck="true"
|
2014-09-01 06:03:52 +00:00
|
|
|
>
|
|
|
|
<testsuites>
|
|
|
|
<testsuite name="WooCommerce Test Suite">
|
|
|
|
<directory suffix=".php">./tests/unit-tests</directory>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
|
|
|
<filter>
|
2017-01-17 09:28:20 +00:00
|
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
2017-09-26 13:24:49 +00:00
|
|
|
<directory suffix=".php">./includes</directory>
|
|
|
|
<file>woocommerce.php</file>
|
|
|
|
<file>uninstall.php</file>
|
2017-01-17 09:06:08 +00:00
|
|
|
<exclude>
|
2017-09-26 13:24:49 +00:00
|
|
|
<directory suffix=".php">./includes/api/legacy</directory>
|
2017-09-27 12:12:08 +00:00
|
|
|
<directory suffix=".php">./includes/api/v1</directory>
|
2017-09-26 13:24:49 +00:00
|
|
|
<directory suffix=".php">./includes/gateways/simplify-commerce-deprecated</directory>
|
|
|
|
<directory suffix=".php">./includes/gateways/simplify-commerce/includes</directory>
|
|
|
|
<directory suffix=".php">./includes/libraries</directory>
|
2017-09-27 12:12:08 +00:00
|
|
|
<directory suffix=".php">./includes/legacy</directory>
|
2017-09-26 13:24:49 +00:00
|
|
|
<directory suffix=".php">./includes/shipping/legacy-flat-rate</directory>
|
|
|
|
<directory suffix=".php">./includes/shipping/legacy-free-shipping</directory>
|
|
|
|
<directory suffix=".php">./includes/shipping/legacy-international-delivery</directory>
|
|
|
|
<directory suffix=".php">./includes/shipping/legacy-local-delivery</directory>
|
|
|
|
<directory suffix=".php">./includes/shipping/legacy-local-pickup</directory>
|
|
|
|
<directory suffix=".php">./includes/updates</directory>
|
|
|
|
<directory suffix=".php">./includes/vendor</directory>
|
|
|
|
<directory suffix=".php">./includes/widgets</directory>
|
2017-01-17 09:06:08 +00:00
|
|
|
</exclude>
|
|
|
|
</whitelist>
|
2014-09-01 06:03:52 +00:00
|
|
|
</filter>
|
|
|
|
</phpunit>
|