Indexing these files takes about 5-10% of the run time when generating code coverage reports for core. It has no coverage at the moment and probably won't any time soon given it's just variable declarations. At least for now, exclude it to significantly speed up generating of coverage reports. Change-Id: I0357e004e96d4f4b19036474c8353ddb778e31f3
76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit bootstrap="./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"
|
|
stopOnFailure="false"
|
|
timeoutForSmallTests="10"
|
|
timeoutForMediumTests="30"
|
|
timeoutForLargeTests="60"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
beStrictAboutTestSize="true"
|
|
verbose="false">
|
|
<testsuites>
|
|
<testsuite name="includes">
|
|
<directory>includes</directory>
|
|
<!-- Parser tests must be invoked via their suite -->
|
|
<exclude>includes/parser/ParserIntegrationTest.php</exclude>
|
|
</testsuite>
|
|
<testsuite name="languages">
|
|
<directory>languages</directory>
|
|
</testsuite>
|
|
<testsuite name="parsertests">
|
|
<file>suites/CoreParserTestSuite.php</file>
|
|
<file>suites/ExtensionsParserTestSuite.php</file>
|
|
</testsuite>
|
|
<testsuite name="skins">
|
|
<directory>skins</directory>
|
|
<directory>structure</directory>
|
|
<file>suites/ExtensionsTestSuite.php</file>
|
|
<file>suites/LessTestSuite.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="uploadfromurl">
|
|
<file>suites/UploadFromUrlTestSuite.php</file>
|
|
</testsuite>
|
|
<testsuite name="extensions">
|
|
<directory>structure</directory>
|
|
<file>suites/ExtensionsTestSuite.php</file>
|
|
<file>suites/ExtensionsParserTestSuite.php</file>
|
|
<file>suites/LessTestSuite.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
<groups>
|
|
<exclude>
|
|
<group>Utility</group>
|
|
<group>Broken</group>
|
|
<group>Stub</group>
|
|
</exclude>
|
|
</groups>
|
|
<filter>
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">../../includes</directory>
|
|
<directory suffix=".php">../../languages</directory>
|
|
<directory suffix=".php">../../maintenance</directory>
|
|
<exclude>
|
|
<directory suffix=".php">../../languages/messages</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|