1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/tests/PHPUnit/phpunit.xml.dist
dizzy 482cf02b00 fix regression in trackingspamprevention and warning in bound parameter checking code (#17683)
* remove testdox

* fix warning if parameters is a single value, not an array

* allow skipping valid host check for hardcoded URLs we know are valid

* print testdox hint in case build takes too long to finish consistently

* move testdox warning to correct boostrap file

* fixing some tests + fix use of Date in bind params
2021-06-18 09:14:35 +02:00

97 خطوط
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.5/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
testdox="false"
verbose="true">
<testsuites>
<testsuite name="SystemTests">
<directory>./System</directory>
<directory>../../plugins/*/tests</directory><!-- There should be actually a tests/System but this way we make sure to execute all tests even if some are not moved to correct subdirectory. We will execute Unit and Integration tests twice :( ... -->
<directory>../../plugins/*/Test</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/System</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/System</directory>
<exclude>../../plugins/*/tests/Integration</exclude>
<exclude>../../plugins/*/Test/Integration</exclude>
<exclude>../../plugins/*/tests/Unit</exclude>
<exclude>../../plugins/*/Test/Unit</exclude>
</testsuite>
<testsuite name="SystemTestsCore">
<directory>./System</directory>
</testsuite>
<testsuite name="SystemTestsPlugins">
<directory>../../plugins/*/tests</directory><!-- There should be actually a tests/System but this way we make sure to execute all tests even if some are not moved to correct subdirectory. We will execute Unit and Integration tests twice :( ... -->
<directory>../../plugins/*/Test</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/System</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/System</directory>
<exclude>../../plugins/*/tests/Integration</exclude>
<exclude>../../plugins/*/Test/Integration</exclude>
<exclude>../../plugins/*/tests/Unit</exclude>
<exclude>../../plugins/*/Test/Unit</exclude>
</testsuite>
<testsuite name="IntegrationTests">
<directory>./Integration</directory>
<directory>../../plugins/*/tests/Integration</directory>
<directory>../../plugins/*/Test/Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/Integration</directory>
</testsuite>
<testsuite name="IntegrationTestsCore">
<directory>./Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/Integration</directory>
</testsuite>
<testsuite name="IntegrationTestsPlugins">
<directory>../../plugins/*/tests/Integration</directory>
<directory>../../plugins/*/Test/Integration</directory>
</testsuite>
<testsuite name="UnitTests">
<directory>./Unit</directory>
<directory>../../plugins/*/tests/Unit</directory>
<directory>../../plugins/*/Test/Unit</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/Unit</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/Unit</directory>
</testsuite>
<testsuite name="PluginTests">
<directory>../../plugins/*/tests</directory>
<directory>../../plugins/*/Test</directory>
</testsuite>
<testsuite name="CoreTests">
<directory>./Unit</directory>
<directory>./Integration</directory>
<directory>./System</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../core</directory>
<directory suffix=".php">../../plugins</directory>
<exclude>
<directory suffix=".php">../../core/Updates</directory>
<directory suffix=".php">../../plugins/Example*</directory>
<directory suffix=".php">../../plugins/SecurityInfo*</directory>
<directory suffix=".php">../../plugins/*/Updates</directory>
<directory suffix=".php">../../plugins/*/libs</directory>
<directory suffix=".php">../../plugins/*/tests</directory>
<directory suffix=".php">../../plugins/*/Test</directory>
</exclude>
</whitelist>
</filter>
</phpunit>