1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 19:51:39 +02:00
Files
php-phpbb/phpunit.xml.dist
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

42 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="true"
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
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>
<testsuite name="phpBB Lint Test">
<file>./tests/lint_test.php</file>
</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>
</phpunit>