woocommerce/phpunit.xml

57 lines
2.5 KiB
XML
Raw Normal View History

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>
<directory suffix=".php">./tests/php</directory>
2014-09-01 06:03:52 +00:00
</testsuite>
</testsuites>
<filter>
<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>
<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>
<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>
<listeners>
2020-04-24 20:53:40 +00:00
<listener class="SpeedTrapListener" file="tests/legacy/includes/listener-loader.php" />
</listeners>
<extensions>
<extension class="\Automattic\WooCommerce\Testing\Tools\CodeHacking\CodeHackerTestHook" />
<extension class="\Automattic\WooCommerce\Testing\Tools\DependencyManagement\DependencyManagementTestHook" />
</extensions>
2014-09-01 06:03:52 +00:00
</phpunit>