Welcome to mirror list, hosted at ThFree Co, Russian Federation.

phpunit.xml.dist « PHPUnit « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0af257f09b7272433cf1b7eb6a0d7ca26c0959ed (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
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.5/phpunit.xsd"
         backupGlobals="true"
         backupStaticAttributes="false"
         bootstrap="bootstrap.php"
         colors="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         forceCoversAnnotation="false"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         stopOnIncomplete="false"
         stopOnSkipped="false"
         testdox="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="IntegrationTestsCore">
        <directory>./Integration</directory>
        <directory>../../tests/resources/custompluginsdir/*/tests/Integration</directory>
        <directory>../../tests/resources/custompluginsdir/*/Test/Integration</directory>
    </testsuite>
    <testsuite name="IntegrationTestsPlugins">
        <directory>../../plugins/*/tests/Integration</directory>
        <directory>../../plugins/*/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>