<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         verbose="true"
         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 UI Tests">
			<directory suffix="_test.php">../tests/ui</directory>
		</testsuite>
	</testsuites>

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

	<php>
		<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\postgres"/>
		<server name="PHPBB_TEST_DBHOST" value="localhost" />
		<server name="PHPBB_TEST_DBPORT" value="5432" />
		<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
		<server name="PHPBB_TEST_DBUSER" value="postgres" />
		<server name="PHPBB_TEST_DBPASSWD" value="" />
		<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
		<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
		<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
	</php>
</phpunit>
