mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 12:43:15 +01:00
[ticket/9990] Add docs for running slow tests
PHPBB3-9990
This commit is contained in:
parent
e00c5544d2
commit
42cf9a9895
25
phpunit.xml.all
Normal file
25
phpunit.xml.all
Normal file
@ -0,0 +1,25 @@
|
||||
<?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>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<blacklist>
|
||||
<directory>./tests/</directory>
|
||||
</blacklist>
|
||||
</filter>
|
||||
</phpunit>
|
@ -50,6 +50,15 @@ Once the prerequisites are installed, run the tests from the project root direct
|
||||
|
||||
$ phpunit
|
||||
|
||||
Slow tests
|
||||
--------------
|
||||
Certain tests, such as the UTF-8 normalizer or the DNS tests tend to be slow.
|
||||
Thus these tests are in the `slow` group, which is excluded by default. You can
|
||||
enable slow tests by copying the phpunit.xml.all file to phpunit.xml. If you only
|
||||
want the slow tests, run:
|
||||
|
||||
$ phpunit --group slow
|
||||
|
||||
More Information
|
||||
================
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user