aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit-tests.xml
blob: 149f1f25d3c19bc838226dd9bb8f67d8e711af2b (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="unit/initUnitTests.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>unit/includes</directory>
		</testsuite>
		<testsuite name="languages">
			<directory>unit/languages</directory>
		</testsuite>
		<testsuite name="structure">
			<directory>unit/structure</directory>
		</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>
				<file>../../languages/data/normalize-ar.php</file>
				<file>../../languages/data/normalize-ml.php</file>
			</exclude>
		</whitelist>
	</filter>
</phpunit>