2014-09-01 06:03:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit
|
2020-04-24 20:53:40 +00:00
|
|
|
bootstrap="tests/legacy/bootstrap.php"
|
2014-09-01 06:03:52 +00:00
|
|
|
backupGlobals="false"
|
|
|
|
colors="true"
|
|
|
|
convertErrorsToExceptions="true"
|
|
|
|
convertNoticesToExceptions="true"
|
|
|
|
convertWarningsToExceptions="true"
|
|
|
|
verbose="true"
|
|
|
|
>
|
|
|
|
<testsuites>
|
|
|
|
<testsuite name="WooCommerce Test Suite">
|
2020-04-24 20:53:40 +00:00
|
|
|
<directory suffix=".php">./tests/legacy/unit-tests</directory>
|
2020-04-28 22:41:04 +00:00
|
|
|
<directory suffix=".php">./tests/php</directory>
|
2014-09-01 06:03:52 +00:00
|
|
|
</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-10-05 17:05:38 +00:00
|
|
|
<directory suffix=".php">./includes/admin/helper/views</directory>
|
|
|
|
<directory suffix=".php">./includes/admin/importers/views</directory>
|
|
|
|
<directory suffix=".php">./includes/admin/meta-boxes/views</directory>
|
|
|
|
<directory suffix=".php">./includes/admin/plugin-updates/views</directory>
|
|
|
|
<directory suffix=".php">./includes/admin/views</directory>
|
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>
|
|
|
|
<directory suffix=".php">./includes/legacy</directory>
|
2017-10-05 17:05:38 +00:00
|
|
|
<directory suffix=".php">./includes/libraries</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>
|
2019-07-29 09:20:58 +00:00
|
|
|
<directory suffix=".php">./packages</directory>
|
|
|
|
<directory suffix=".php">./src</directory>
|
|
|
|
<directory suffix=".php">./vendor</directory>
|
2017-10-04 19:43:41 +00:00
|
|
|
<file>./includes/wc-deprecated-functions.php</file>
|
2017-10-05 17:05:38 +00:00
|
|
|
<file>./includes/wc-template-hooks.php</file>
|
2017-10-05 17:10:17 +00:00
|
|
|
<file>./includes/wc-widget-functions.php</file>
|
2017-01-17 09:06:08 +00:00
|
|
|
</exclude>
|
|
|
|
</whitelist>
|
2014-09-01 06:03:52 +00:00
|
|
|
</filter>
|
2018-05-17 13:59:53 +00:00
|
|
|
<listeners>
|
2020-04-24 20:53:40 +00:00
|
|
|
<listener class="SpeedTrapListener" file="tests/legacy/includes/listener-loader.php" />
|
2018-05-17 13:59:53 +00:00
|
|
|
</listeners>
|
2014-09-01 06:03:52 +00:00
|
|
|
</phpunit>
|