woocommerce/phpunit.xml

51 lines
2.2 KiB
XML
Raw Normal View History

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>
<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>
2017-09-26 13:24:49 +00:00
<directory suffix=".php">./includes/gateways/simplify-commerce/includes</directory>
2017-09-27 12:12:08 +00:00
<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>
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>
<listener class="SpeedTrapListener" file="tests/includes/speed-trap-listener.php" />
</listeners>
2014-09-01 06:03:52 +00:00
</phpunit>