1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 03:32:04 +02:00
Files
php-phpbb/.github/phpunit-mssql-github.xml
rxu f670231faa [ticket/17543] Adjust PHPUnit XML configuration
Define source code directories to test and restrict reporting
of deprecation errors to them only to avoid getting this kind
of errors from the 3rd party software and temporary/cache files.

PHPBB-17543
2025-09-17 21:56:54 +07:00

51 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="true"
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="../tests/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<source restrictDeprecations="true">
<include>
<directory suffix=".php">../phpBB/</directory>
<directory suffix=".php">../tests/</directory>
</include>
<exclude>
<directory suffix=".php">../phpBB/vendor/</directory>
<directory suffix=".php">../phpBB/cache/</directory>
<directory suffix=".php">../phpBB/develop/</directory>
<directory suffix=".php">../phpBB/store/</directory>
</exclude>
</source>
<php>
<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\mssqlnative"/>
<server name="PHPBB_TEST_DBHOST" value="127.0.0.1"/>
<server name="PHPBB_TEST_DBPORT" value=""/>
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests"/>
<server name="PHPBB_TEST_DBUSER" value="sa"/>
<server name="PHPBB_TEST_DBPASSWD" value="Pssw0rd_12"/>
<server name="PHPBB_TEST_REDIS_HOST" value="localhost"/>
<server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost"/>
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/"/>
</php>
</phpunit>