[ticket/16786] Migrate phpunit xml configuration to latest schema

PHPBB3-16786
This commit is contained in:
Marc Alexander 2021-05-29 09:31:48 +02:00
parent 93a940c78f
commit fabc01e4fd
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<phpunit backupGlobals="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false" backupStaticAttributes="false"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
@ -10,30 +11,28 @@
stopOnFailure="false" stopOnFailure="false"
bootstrap="tests/bootstrap.php" bootstrap="tests/bootstrap.php"
> >
<testsuites> <coverage>
<testsuite name="phpBB Test Suite"> <include>
<directory suffix="_test.php">./tests</directory> <directory suffix=".php">./phpBB/includes/</directory>
<exclude>./tests/functional</exclude> <directory suffix=".php">./phpBB/phpbb/</directory>
<exclude>./tests/lint_test.php</exclude> </include>
</testsuite> </coverage>
<testsuite name="phpBB Functional Tests"> <testsuites>
<directory suffix="_test.php">./tests/functional</directory> <testsuite name="phpBB Test Suite">
</testsuite> <directory suffix="_test.php">./tests</directory>
<testsuite name="phpBB Lint Test"> <exclude>./tests/functional</exclude>
<file>./tests/lint_test.php</file> <exclude>./tests/lint_test.php</exclude>
</testsuite> </testsuite>
</testsuites> <testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">./tests/functional</directory>
<groups> </testsuite>
<exclude> <testsuite name="phpBB Lint Test">
<group>slow</group> <file>./tests/lint_test.php</file>
</exclude> </testsuite>
</groups> </testsuites>
<groups>
<filter> <exclude>
<whitelist> <group>slow</group>
<directory suffix=".php">./phpBB/includes/</directory> </exclude>
<directory suffix=".php">./phpBB/phpbb/</directory> </groups>
</whitelist>
</filter>
</phpunit> </phpunit>