Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 52 lines (51 sloc) 1.99 KB
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="tests-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes</directory>
<file>easy-digital-downloads.php</file>
<file>uninstall.php</file>
<exclude>
<file>./includes/admin/payments/view-order-details.php</file>
<file>./includes/admin/discounts/edit-discount.php</file>
<file>./includes/admin/discounts/add-discount.php</file>
<file>./includes/admin/reporting/class-export-customers.php</file>
<file>./includes/admin/reporting/class-export-download-history.php</file>
<file>./includes/admin/reporting/class-export-payments.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-all-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-customer-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-download-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-single-customer-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-store-earnings.php</file>
<file>./includes/admin/tools/class-edd-tools-reset-stats.php</file>
<file>./includes/admin/import/class-batch-import-downloads.php</file>
<file>./includes/admin/import/class-batch-import-payments.php</file>
<file>./includes/class-edd-cli.php</file>
<directory suffix=".php">./includes/admin/reporting/export</directory>
<directory>./includes/libraries/</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener" file="tests/phpunit/speed-trap-listener.php">
<arguments>
<array>
<element key="slowThreshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>