mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/10839] Always run functional tests by default
They are skipped anyway, if $phpbb_functional_url is not configured. If you want to run tests without functional tests, just append --exclude-group functional to your call PHPBB3-10839
This commit is contained in:
parent
436e388b87
commit
d6ac4a1130
2 changed files with 4 additions and 44 deletions
|
@ -15,19 +15,18 @@
|
||||||
<testsuite name="phpBB Test Suite">
|
<testsuite name="phpBB Test Suite">
|
||||||
<directory suffix="_test.php">./tests</directory>
|
<directory suffix="_test.php">./tests</directory>
|
||||||
<exclude>./tests/functional</exclude>
|
<exclude>./tests/functional</exclude>
|
||||||
<exclude>tests/lint_test.php</exclude>
|
<exclude>./tests/lint_test.php</exclude>
|
||||||
</testsuite>
|
|
||||||
<testsuite name="phpBB Lint Test">
|
|
||||||
<file>tests/lint_test.php</file>
|
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite name="phpBB Functional Tests">
|
<testsuite name="phpBB Functional Tests">
|
||||||
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
<testsuite name="phpBB Lint Test">
|
||||||
|
<file>./tests/lint_test.php</file>
|
||||||
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<groups>
|
<groups>
|
||||||
<exclude>
|
<exclude>
|
||||||
<group>functional</group>
|
|
||||||
<group>slow</group>
|
<group>slow</group>
|
||||||
</exclude>
|
</exclude>
|
||||||
</groups>
|
</groups>
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?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>
|
|
||||||
<exclude>tests/lint_test.php</exclude>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="phpBB Lint Test">
|
|
||||||
<file>tests/lint_test.php</file>
|
|
||||||
</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>
|
|
||||||
</filter>
|
|
||||||
</phpunit>
|
|
Loading…
Add table
Reference in a new issue