forked from wikimedia/mediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
77 lines (76 loc) · 2.43 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?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"
stopOnFailure="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
verbose="false">
<php>
<ini name="memory_limit" value="512M" />
</php>
<testsuites>
<testsuite name="core:unit">
<directory>tests/phpunit/unit</directory>
</testsuite>
<testsuite name="extensions:unit">
<directory>extensions/**/tests/phpunit/unit</directory>
<directory>extensions/**/tests/phpunit/Unit</directory>
</testsuite>
<testsuite name="skins:unit">
<directory>skins/**/tests/phpunit/unit</directory>
<directory>skins/**/tests/phpunit/Unit</directory>
</testsuite>
<testsuite name="core:integration">
<directory>tests/phpunit/integration</directory>
</testsuite>
<testsuite name="extensions:integration">
<directory>extensions/**/tests/phpunit/integration</directory>
</testsuite>
<testsuite name="skins:integration">
<directory>skins/**/tests/phpunit/integration</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>Broken</group>
</exclude>
</groups>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">includes</directory>
<directory suffix=".php">languages</directory>
<directory suffix=".php">maintenance</directory>
<directory suffix=".php">extensions</directory>
<directory suffix=".php">skins</directory>
<exclude>
<directory suffix=".php">languages/messages</directory>
<directory suffix=".php">maintenance/benchmarks</directory>
<directory suffix=".php">extensions/*/tests</directory>
<directory suffix=".php">skins/*/tests</directory>
<file>languages/data/normalize-ar.php</file>
<file>languages/data/normalize-ml.php</file>
</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>