mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
9c861a0350
Tests still execute correctly using PHPUnit 3.5 on PHP 5.3 and above. The php version limitation for a directory was added in PHPUnit 3.6. A separate test suite is required because the functional tests are in the whitelisted tests directory. The base test for functional testing is only included in bootstrap in versions 5.3 and above. PHPBB3-10414
53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit backupGlobals="true"
|
|
backupStaticAttributes="true"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
syntaxCheck="false"
|
|
bootstrap="tests/bootstrap.php"
|
|
>
|
|
<testsuites>
|
|
<testsuite name="phpBB Test Suite">
|
|
<directory suffix="_test.php">./tests/</directory>
|
|
<exclude>./tests/functional</exclude>
|
|
</testsuite>
|
|
<testsuite name="phpBB Functional Tests">
|
|
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<groups>
|
|
<include>
|
|
<group>functional</group>
|
|
</include>
|
|
</groups>
|
|
|
|
<filter>
|
|
<blacklist>
|
|
<directory>./tests/</directory>
|
|
</blacklist>
|
|
<whitelist>
|
|
<directory suffix=".php">./phpBB/includes/</directory>
|
|
<exclude>
|
|
<file>./phpBB/includes/db/firebird.php</file>
|
|
<file>./phpBB/includes/db/mysql.php</file>
|
|
<file>./phpBB/includes/db/mysqli.php</file>
|
|
<file>./phpBB/includes/db/mssql.php</file>
|
|
<file>./phpBB/includes/db/mssql_odbc.php</file>
|
|
<file>./phpBB/includes/db/mssqlnative.php</file>
|
|
<file>./phpBB/includes/db/oracle.php</file>
|
|
<file>./phpBB/includes/db/postgres.php</file>
|
|
<file>./phpBB/includes/db/sqlite.php</file>
|
|
<file>./phpBB/includes/search/fulltext_native.php</file>
|
|
<file>./phpBB/includes/search/fulltext_mysql.php</file>
|
|
<directory suffix=".php">./phpBB/includes/captcha/</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|