2014-09-01 06:03:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-03-22 15:15:36 +00:00
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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"
|
2023-03-22 15:15:36 +00:00
|
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
2014-09-01 06:03:52 +00:00
|
|
|
<testsuites>
|
2023-07-27 12:06:55 +00:00
|
|
|
<testsuite name="wc-unittests-all">
|
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>
|
2023-08-09 18:48:04 +00:00
|
|
|
<exclude>./tests/php/helpers</exclude>
|
2014-09-01 06:03:52 +00:00
|
|
|
</testsuite>
|
2023-07-27 12:06:55 +00:00
|
|
|
<testsuite name="shard1">
|
|
|
|
<directory suffix=".php">./tests/legacy/unit-tests</directory>
|
|
|
|
<directory suffix=".php">./tests/php</directory>
|
|
|
|
<exclude>./tests/legacy/unit-tests/woocommerce-admin</exclude>
|
2023-08-09 18:48:04 +00:00
|
|
|
<exclude>./tests/php/helpers</exclude>
|
2023-07-27 12:06:55 +00:00
|
|
|
</testsuite>
|
|
|
|
<testsuite name="shard2">
|
|
|
|
<directory suffix=".php">./tests/legacy/unit-tests/woocommerce-admin</directory>
|
|
|
|
</testsuite>
|
2014-09-01 06:03:52 +00:00
|
|
|
</testsuites>
|
2023-03-22 15:15:36 +00:00
|
|
|
<coverage includeUncoveredFiles="true">
|
|
|
|
<include>
|
2017-09-26 13:24:49 +00:00
|
|
|
<directory suffix=".php">./includes</directory>
|
2023-03-22 15:15:36 +00:00
|
|
|
<file>woocommerce.php</file>
|
|
|
|
<file>uninstall.php</file>
|
|
|
|
</include>
|
|
|
|
<exclude>
|
|
|
|
<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>
|
|
|
|
<directory suffix=".php">./includes/api/legacy</directory>
|
|
|
|
<directory suffix=".php">./includes/api/v1</directory>
|
|
|
|
<directory suffix=".php">./includes/legacy</directory>
|
|
|
|
<directory suffix=".php">./includes/libraries</directory>
|
|
|
|
<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>
|
|
|
|
<directory suffix=".php">./packages</directory>
|
|
|
|
<directory suffix=".php">./src</directory>
|
|
|
|
<directory suffix=".php">./vendor</directory>
|
|
|
|
<file>./includes/wc-deprecated-functions.php</file>
|
|
|
|
<file>./includes/wc-template-hooks.php</file>
|
|
|
|
<file>./includes/wc-widget-functions.php</file>
|
|
|
|
</exclude>
|
|
|
|
</coverage>
|
2014-09-01 06:03:52 +00:00
|
|
|
</phpunit>
|