aboutsummaryrefslogtreecommitdiffstats
path: root/phpunit.xml.dist
blob: c852f91b506492e6498652daafd3f491c6689c3b (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
<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="true"
         backupStaticAttributes="true"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="tests/bootstrap.php"
>
    <testsuites>
        <testsuite name="phpBB Test Suite">
            <directory suffix="_test.php">./tests/</directory>
            <exclude>tests/lint_test.php</exclude>
        </testsuite>
        <testsuite name="phpBB Lint Test">
            <file>tests/lint_test.php</file>
        </testsuite>
    </testsuites>

    <groups>
        <exclude>
            <group>functional</group>
            <group>slow</group>
        </exclude>
    </groups>

    <filter>
        <blacklist>
            <directory>./tests/</directory>
        </blacklist>
        <whitelist>
            <directory suffix=".php">./phpBB/includes/</directory>
            <directory suffix=".php">./phpBB/phpbb/</directory>
            <exclude>
                <file>./phpBB/phpbb/search/fulltext_native.php</file>
                <file>./phpBB/phpbb/search/fulltext_mysql.php</file>
                <directory suffix=".php">./phpBB/includes/captcha/</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>