summaryrefslogtreecommitdiff
path: root/www/wiki/tests/phpunit/suite.xml
blob: 16c0c17cdcd247a19e6e41a6b365dac7220080a2 (plain)
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="./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"
	stderr="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>