phpunit.xml migrated to the new PHPUnit 9 schema
This commit is contained in:
parent
15c7a18c98
commit
b7cd5aa47d
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
bootstrap="tests/legacy/bootstrap.php"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
|
@ -7,18 +7,19 @@
|
|||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
verbose="true"
|
||||
>
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<testsuites>
|
||||
<testsuite name="WooCommerce Test Suite">
|
||||
<directory suffix=".php">./tests/legacy/unit-tests</directory>
|
||||
<directory suffix=".php">./tests/php</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||
<coverage includeUncoveredFiles="true">
|
||||
<include>
|
||||
<directory suffix=".php">./includes</directory>
|
||||
<file>woocommerce.php</file>
|
||||
<file>uninstall.php</file>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory suffix=".php">./includes/admin/helper/views</directory>
|
||||
<directory suffix=".php">./includes/admin/importers/views</directory>
|
||||
|
@ -44,6 +45,5 @@
|
|||
<file>./includes/wc-template-hooks.php</file>
|
||||
<file>./includes/wc-widget-functions.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</coverage>
|
||||
</phpunit>
|
||||
|
|
Loading…
Reference in New Issue