build: Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0
[lhc/web/wiklou.git] / phpunit.xml.dist
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="tests/phpunit/bootstrap.php"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
5
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 <php>
21 <ini name="memory_limit" value="512M" />
22 </php>
23 <testsuites>
24 <testsuite name="core:unit">
25 <directory>tests/phpunit/unit</directory>
26 </testsuite>
27 <testsuite name="extensions:unit">
28 <directory>extensions/**/tests/phpunit/unit</directory>
29 <directory>extensions/**/tests/phpunit/Unit</directory>
30 </testsuite>
31 <testsuite name="skins:unit">
32 <directory>skins/**/tests/phpunit/unit</directory>
33 <directory>skins/**/tests/phpunit/Unit</directory>
34 </testsuite>
35 <testsuite name="core:integration">
36 <directory>tests/phpunit/integration</directory>
37 </testsuite>
38 <testsuite name="extensions:integration">
39 <directory>extensions/**/tests/phpunit/integration</directory>
40 </testsuite>
41 <testsuite name="skins:integration">
42 <directory>skins/**/tests/phpunit/integration</directory>
43 </testsuite>
44 </testsuites>
45 <groups>
46 <exclude>
47 <group>Broken</group>
48 </exclude>
49 </groups>
50 <filter>
51 <whitelist addUncoveredFilesFromWhitelist="false">
52 <directory suffix=".php">includes</directory>
53 <directory suffix=".php">languages</directory>
54 <directory suffix=".php">maintenance</directory>
55 <directory suffix=".php">extensions</directory>
56 <directory suffix=".php">skins</directory>
57 <exclude>
58 <directory suffix=".php">languages/messages</directory>
59 <directory suffix=".php">extensions/*/tests</directory>
60 <directory suffix=".php">skins/*/tests</directory>
61 <file>languages/data/normalize-ar.php</file>
62 <file>languages/data/normalize-ml.php</file>
63 </exclude>
64 </whitelist>
65 </filter>
66 <listeners>
67 <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
68 <arguments>
69 <array>
70 <element key="slowThreshold">
71 <integer>50</integer>
72 </element>
73 <element key="reportLength">
74 <integer>50</integer>
75 </element>
76 </array>
77 </arguments>
78 </listener>
79 </listeners>
80 </phpunit>