mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 11:58:51 +00:00
[ticket/16786] Migrate phpunit xml configuration to latest schema
PHPBB3-16786
This commit is contained in:
parent
93a940c78f
commit
fabc01e4fd
1 changed files with 27 additions and 28 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue