blob: 0aab2c517823936597b397c7c3fa161940b22afe (
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
78
79
80
81
82
83
84
85
86
87
|
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="true">
<testsuites>
<testsuite name="SystemTests">
<directory>./System</directory>
<directory>../../plugins/*/tests</directory><!-- There should be actually a tests/System but this way we make sure to execute all tests even if some are not moved to correct subdirectory. We will execute Unit and Integration tests twice :( ... -->
<directory>../../plugins/*/Test</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/System</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/System</directory>
<exclude>../../plugins/*/tests/Integration</exclude>
<exclude>../../plugins/*/Test/Integration</exclude>
<exclude>../../plugins/*/tests/Unit</exclude>
<exclude>../../plugins/*/Test/Unit</exclude>
</testsuite>
<testsuite name="SystemTestsCore">
<directory>./System</directory>
</testsuite>
<testsuite name="SystemTestsPlugins">
<directory>../../plugins/*/tests</directory><!-- There should be actually a tests/System but this way we make sure to execute all tests even if some are not moved to correct subdirectory. We will execute Unit and Integration tests twice :( ... -->
<directory>../../plugins/*/Test</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/System</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/System</directory>
<exclude>../../plugins/*/tests/Integration</exclude>
<exclude>../../plugins/*/Test/Integration</exclude>
<exclude>../../plugins/*/tests/Unit</exclude>
<exclude>../../plugins/*/Test/Unit</exclude>
</testsuite>
<testsuite name="IntegrationTests">
<directory>./Integration</directory>
<directory>../../plugins/*/tests/Integration</directory>
<directory>../../plugins/*/Test/Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/Integration</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/Integration</directory>
</testsuite>
<testsuite name="UnitTests">
<directory>./Unit</directory>
<directory>../../plugins/*/tests/Unit</directory>
<directory>../../plugins/*/Test/Unit</directory>
<directory>../../tests/resources/custompluginsdir/*/tests/Unit</directory>
<directory>../../tests/resources/custompluginsdir/*/Test/Unit</directory>
</testsuite>
<testsuite name="PluginTests">
<directory>../../plugins/*/tests</directory>
<directory>../../plugins/*/Test</directory>
</testsuite>
<testsuite name="CoreTests">
<directory>./Unit</directory>
<directory>./Integration</directory>
<directory>./System</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../core</directory>
<directory suffix=".php">../../plugins</directory>
<exclude>
<directory suffix=".php">../../core/Updates</directory>
<directory suffix=".php">../../plugins/Example*</directory>
<directory suffix=".php">../../plugins/SecurityInfo*</directory>
<directory suffix=".php">../../plugins/*/Updates</directory>
<directory suffix=".php">../../plugins/*/libs</directory>
<directory suffix=".php">../../plugins/*/tests</directory>
<directory suffix=".php">../../plugins/*/Test</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|