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-01-17 09:06:08 +00:00
|
|
|
<directory suffix=".php">.</directory>
|
|
|
|
<exclude>
|
2017-07-28 10:42:54 +00:00
|
|
|
<directory>./apigen/</directory>
|
|
|
|
<directory>./assets/</directory>
|
|
|
|
<directory>./dummy-data/</directory>
|
|
|
|
<directory>./i18n/</directory>
|
2017-01-17 09:06:08 +00:00
|
|
|
<directory suffix=".php">./includes/api/legacy/</directory>
|
|
|
|
<directory suffix=".php">./includes/gateways/simplify-commerce-deprecated/</directory>
|
|
|
|
<directory suffix=".php">./includes/gateways/simplify-commerce/includes/</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>
|
2017-07-21 17:25:27 +00:00
|
|
|
<directory suffix=".php">./includes/vendor/</directory>
|
2017-01-17 09:06:08 +00:00
|
|
|
<directory suffix=".php">./includes/widgets/</directory>
|
|
|
|
<directory suffix=".php">./templates/</directory>
|
|
|
|
<directory>./tests/</directory>
|
2017-07-28 10:42:54 +00:00
|
|
|
<directory>./vendor/</directory>
|
|
|
|
<directory>./.*/</directory>
|
|
|
|
<directory>./tmp/</directory>
|
2017-07-21 17:25:27 +00:00
|
|
|
<directory suffix=".php">./tests/</directory>
|
2017-01-17 09:06:08 +00:00
|
|
|
<directory suffix=".php">./tmp/</directory>
|
2017-07-21 17:25:27 +00:00
|
|
|
<directory suffix=".php">./vendor/</directory>
|
2017-01-17 09:06:08 +00:00
|
|
|
</exclude>
|
|
|
|
</whitelist>
|
2014-09-01 06:03:52 +00:00
|
|
|
</filter>
|
|
|
|
</phpunit>
|