2022-06-09 14:15:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-07-13 15:31:49 +00:00
|
|
|
<!--
|
|
|
|
|
************** DEPRECATED! ****************
|
|
|
|
|
This configuration file has been deprecated in favour of phpunit.xml.dist.
|
|
|
|
|
-->
|
2023-07-02 17:14:27 +00:00
|
|
|
<phpunit bootstrap="./bootstrap.integration.php"
|
2022-06-09 14:15:54 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2021-03-25 10:38:39 +00:00
|
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
2022-06-09 14:15:54 +00:00
|
|
|
colors="true"
|
|
|
|
|
backupGlobals="false"
|
|
|
|
|
convertDeprecationsToExceptions="true"
|
|
|
|
|
convertErrorsToExceptions="true"
|
|
|
|
|
convertNoticesToExceptions="true"
|
|
|
|
|
convertWarningsToExceptions="true"
|
|
|
|
|
forceCoversAnnotation="true"
|
|
|
|
|
failOnWarning="true"
|
|
|
|
|
stopOnFailure="false"
|
|
|
|
|
failOnRisky="true"
|
|
|
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
|
|
|
beStrictAboutOutputDuringTests="true"
|
|
|
|
|
verbose="false"
|
|
|
|
|
printerClass="MediaWikiPHPUnitResultPrinter"
|
|
|
|
|
stderr="true">
|
|
|
|
|
<!-- Output only to stderr to avoid "Headers already sent" problems -->
|
2022-07-12 08:32:32 +00:00
|
|
|
<php>
|
|
|
|
|
<ini name="memory_limit" value="-1" />
|
|
|
|
|
<ini name="max_execution_time" value="0" />
|
|
|
|
|
</php>
|
2022-06-09 14:15:54 +00:00
|
|
|
<testsuites>
|
|
|
|
|
<testsuite name="includes">
|
|
|
|
|
<directory>includes</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="parsertests">
|
|
|
|
|
<file>suites/CoreParserTestSuite.php</file>
|
|
|
|
|
<file>suites/ExtensionsParserTestSuite.php</file>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="skins">
|
|
|
|
|
<directory>structure</directory>
|
|
|
|
|
<file>suites/ExtensionsTestSuite.php</file>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<!-- As there is a class Maintenance, we cannot use the name "maintenance" directly -->
|
|
|
|
|
<testsuite name="maintenance_suite">
|
|
|
|
|
<directory>maintenance</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="structure">
|
|
|
|
|
<directory>structure</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="tests">
|
|
|
|
|
<directory>tests</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="extensions">
|
|
|
|
|
<directory>structure</directory>
|
|
|
|
|
<file>suites/ExtensionsTestSuite.php</file>
|
|
|
|
|
<file>suites/ExtensionsParserTestSuite.php</file>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="unit">
|
|
|
|
|
<directory>unit</directory>
|
|
|
|
|
</testsuite>
|
|
|
|
|
<testsuite name="integration">
|
|
|
|
|
<directory>integration</directory>
|
|
|
|
|
</testsuite>
|
2023-08-01 12:47:09 +00:00
|
|
|
<testsuite name="docs">
|
|
|
|
|
<directory>docs</directory>
|
|
|
|
|
</testsuite>
|
2022-06-09 14:15:54 +00:00
|
|
|
</testsuites>
|
|
|
|
|
<groups>
|
|
|
|
|
<exclude>
|
|
|
|
|
<group>Broken</group>
|
|
|
|
|
</exclude>
|
|
|
|
|
</groups>
|
2021-03-25 10:38:39 +00:00
|
|
|
<coverage includeUncoveredFiles="true">
|
|
|
|
|
<include>
|
2022-06-09 14:15:54 +00:00
|
|
|
<directory suffix=".php">../../includes</directory>
|
|
|
|
|
<directory suffix=".php">../../maintenance</directory>
|
2021-03-25 10:38:39 +00:00
|
|
|
</include>
|
|
|
|
|
<exclude>
|
|
|
|
|
<directory suffix=".php">../../maintenance/benchmarks</directory>
|
|
|
|
|
</exclude>
|
|
|
|
|
</coverage>
|
2022-06-09 14:15:54 +00:00
|
|
|
<listeners>
|
|
|
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
|
|
|
|
<arguments>
|
|
|
|
|
<array>
|
|
|
|
|
<element key="slowThreshold">
|
|
|
|
|
<integer>50</integer>
|
|
|
|
|
</element>
|
|
|
|
|
<element key="reportLength">
|
2023-03-09 13:08:38 +00:00
|
|
|
<integer>10</integer>
|
2022-06-09 14:15:54 +00:00
|
|
|
</element>
|
|
|
|
|
</array>
|
|
|
|
|
</arguments>
|
|
|
|
|
</listener>
|
|
|
|
|
</listeners>
|
|
|
|
|
<extensions>
|
|
|
|
|
<extension class="MediaWikiLoggerPHPUnitExtension" />
|
2023-07-12 22:59:24 +00:00
|
|
|
<extension class="MediaWikiTeardownPHPUnitExtension" />
|
2023-07-13 15:31:49 +00:00
|
|
|
<extension class="MediaWikiDeprecatedConfigPHPUnitExtension" />
|
2022-06-09 14:15:54 +00:00
|
|
|
</extensions>
|
|
|
|
|
</phpunit>
|