mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/9990] Add docs for running slow tests
PHPBB3-9990
This commit is contained in:
parent
e00c5544d2
commit
42cf9a9895
2 changed files with 34 additions and 0 deletions
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
|
$ 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
|
More Information
|
||||||
================
|
================
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue