Merge "Update docs/hooks.txt for ShowSearchHitTitle"
[mediawiki.git] / tests / phpunit / suite.xml
blob11a25c4105e1fc70419c31f445dfbfe030fe1649
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="./bootstrap.php"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
6         colors="true"
7         backupGlobals="false"
8         convertErrorsToExceptions="true"
9         convertNoticesToExceptions="true"
10         convertWarningsToExceptions="true"
11         forceCoversAnnotation="true"
12         stopOnFailure="false"
13         timeoutForSmallTests="10"
14         timeoutForMediumTests="30"
15         timeoutForLargeTests="60"
16         beStrictAboutTestsThatDoNotTestAnything="true"
17         beStrictAboutOutputDuringTests="true"
18         beStrictAboutTestSize="true"
19         verbose="false">
20         <testsuites>
21                 <testsuite name="includes">
22                         <directory>includes</directory>
23                         <!-- Parser tests must be invoked via their suite -->
24                         <exclude>includes/parser/ParserIntegrationTest.php</exclude>
25                 </testsuite>
26                 <testsuite name="languages">
27                         <directory>languages</directory>
28                 </testsuite>
29                 <testsuite name="parsertests">
30                         <file>suites/CoreParserTestSuite.php</file>
31                         <file>suites/ExtensionsParserTestSuite.php</file>
32                 </testsuite>
33                 <testsuite name="skins">
34                         <directory>skins</directory>
35                         <directory>structure</directory>
36                         <file>suites/LessTestSuite.php</file>
37                 </testsuite>
38                 <!-- As there is a class Maintenance, we cannot use the
39                      name "maintenance" directly -->
40                 <testsuite name="maintenance_suite">
41                         <directory>maintenance</directory>
42                 </testsuite>
43                 <testsuite name="structure">
44                         <directory>structure</directory>
45                 </testsuite>
46                 <testsuite name="tests">
47                         <directory>tests</directory>
48                 </testsuite>
49                 <testsuite name="uploadfromurl">
50                         <file>suites/UploadFromUrlTestSuite.php</file>
51                 </testsuite>
52                 <testsuite name="extensions">
53                         <directory>structure</directory>
54                         <file>suites/ExtensionsTestSuite.php</file>
55                         <file>suites/ExtensionsParserTestSuite.php</file>
56                         <file>suites/LessTestSuite.php</file>
57                 </testsuite>
58         </testsuites>
59         <groups>
60                 <exclude>
61                         <group>Utility</group>
62                         <group>Broken</group>
63                         <group>Stub</group>
64                 </exclude>
65         </groups>
66         <filter>
67                 <whitelist addUncoveredFilesFromWhitelist="true">
68                         <directory suffix=".php">../../includes</directory>
69                         <directory suffix=".php">../../languages</directory>
70                         <directory suffix=".php">../../maintenance</directory>
71                         <directory suffix=".php">../../skins</directory>
72                 </whitelist>
73         </filter>
74 </phpunit>