<?xml version="1.0" encoding="UTF-8"?>

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

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

    <filter>
        <whitelist>
            <directory suffix=".php">./phpBB/includes/</directory>
            <directory suffix=".php">./phpBB/phpbb/</directory>
        </whitelist>
    </filter>
</phpunit>
