45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
bootstrap="tests/bootstrap.php"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
verbose="true"
|
|
syntaxCheck="true"
|
|
>
|
|
<testsuites>
|
|
<testsuite name="WooCommerce Test Suite">
|
|
<directory suffix=".php">./tests/unit-tests</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">.</directory>
|
|
<exclude>
|
|
<directory>./apigen/</directory>
|
|
<directory>./assets/</directory>
|
|
<directory>./dummy-data/</directory>
|
|
<directory>./i18n/</directory>
|
|
<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>
|
|
<directory suffix=".php">./includes/widgets/</directory>
|
|
<directory suffix=".php">./templates/</directory>
|
|
<directory>./tests/</directory>
|
|
<directory>./vendor/</directory>
|
|
<directory>./.*/</directory>
|
|
<directory>./tmp/</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|