2019-06-26 02:33:14 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<phpunit bootstrap="tests/phpunit/bootstrap.php"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
|
|
|
|
|
|
|
|
|
|
colors="true"
|
|
|
|
|
backupGlobals="false"
|
|
|
|
|
convertErrorsToExceptions="true"
|
|
|
|
|
convertNoticesToExceptions="true"
|
|
|
|
|
convertWarningsToExceptions="true"
|
|
|
|
|
forceCoversAnnotation="true"
|
2020-04-05 12:25:03 +00:00
|
|
|
failOnWarning="true"
|
2019-06-26 02:33:14 +00:00
|
|
|
stopOnFailure="false"
|
|
|
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
|
|
|
beStrictAboutOutputDuringTests="true"
|
|
|
|
|
verbose="false">
|
|
|
|
|
<php>
|
|
|
|
|
<ini name="memory_limit" value="512M" />
|
|
|
|
|
</php>
|
|
|
|
|
<testsuites>
|
2019-07-05 15:33:08 +00:00
|
|
|
<testsuite name="core:unit">
|
2019-06-26 02:33:14 +00:00
|
|
|
<directory>tests/phpunit/unit</directory>
|
|
|
|
|
</testsuite>
|
2019-07-05 15:33:08 +00:00
|
|
|
<testsuite name="extensions:unit">
|
2021-02-26 17:03:09 +00:00
|
|
|
<directory>extensions/*/tests/phpunit/unit</directory>
|
|
|
|
|
<directory>extensions/*/tests/phpunit/Unit</directory>
|
2019-07-05 15:33:08 +00:00
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="skins:unit">
|
2021-02-26 17:03:09 +00:00
|
|
|
<directory>skins/*/tests/phpunit/unit</directory>
|
|
|
|
|
<directory>skins/*/tests/phpunit/Unit</directory>
|
2019-07-05 15:33:08 +00:00
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="core:integration">
|
2019-06-26 02:33:14 +00:00
|
|
|
<directory>tests/phpunit/integration</directory>
|
2019-07-05 15:33:08 +00:00
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="extensions:integration">
|
|
|
|
|
<directory>extensions/**/tests/phpunit/integration</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="skins:integration">
|
|
|
|
|
<directory>skins/**/tests/phpunit/integration</directory>
|
2019-06-26 02:33:14 +00:00
|
|
|
</testsuite>
|
|
|
|
|
</testsuites>
|
|
|
|
|
<groups>
|
|
|
|
|
<exclude>
|
|
|
|
|
<group>Broken</group>
|
|
|
|
|
</exclude>
|
|
|
|
|
</groups>
|
|
|
|
|
<filter>
|
2019-07-03 14:48:55 +00:00
|
|
|
<whitelist addUncoveredFilesFromWhitelist="false">
|
2019-06-26 02:33:14 +00:00
|
|
|
<directory suffix=".php">includes</directory>
|
|
|
|
|
<directory suffix=".php">languages</directory>
|
|
|
|
|
<directory suffix=".php">maintenance</directory>
|
2019-07-03 14:48:55 +00:00
|
|
|
<directory suffix=".php">extensions</directory>
|
|
|
|
|
<directory suffix=".php">skins</directory>
|
2019-06-26 02:33:14 +00:00
|
|
|
<exclude>
|
|
|
|
|
<directory suffix=".php">languages/messages</directory>
|
2019-12-18 01:24:42 +00:00
|
|
|
<directory suffix=".php">maintenance/benchmarks</directory>
|
2019-07-17 16:00:58 +00:00
|
|
|
<directory suffix=".php">extensions/*/tests</directory>
|
|
|
|
|
<directory suffix=".php">skins/*/tests</directory>
|
2019-06-26 02:33:14 +00:00
|
|
|
</exclude>
|
|
|
|
|
</whitelist>
|
|
|
|
|
</filter>
|
|
|
|
|
<listeners>
|
|
|
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
|
|
|
|
<arguments>
|
|
|
|
|
<array>
|
|
|
|
|
<element key="slowThreshold">
|
|
|
|
|
<integer>50</integer>
|
|
|
|
|
</element>
|
|
|
|
|
<element key="reportLength">
|
|
|
|
|
<integer>50</integer>
|
|
|
|
|
</element>
|
|
|
|
|
</array>
|
|
|
|
|
</arguments>
|
|
|
|
|
</listener>
|
|
|
|
|
</listeners>
|
|
|
|
|
</phpunit>
|