diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2014-05-10 17:14:00 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2014-05-10 17:14:00 +0200 |
| commit | cc0446dc17aeb3639b374a6688e32fca271e0694 (patch) | |
| tree | 64c4100056830223051f20e4c507c6690b6b17d1 /tests | |
| parent | 436e388b87c39d778e5996d3ab0f0761fffe5e23 (diff) | |
| parent | 333120a9921d8b36914965540d2d513cb939dc51 (diff) | |
| download | forums-cc0446dc17aeb3639b374a6688e32fca271e0694.tar forums-cc0446dc17aeb3639b374a6688e32fca271e0694.tar.gz forums-cc0446dc17aeb3639b374a6688e32fca271e0694.tar.bz2 forums-cc0446dc17aeb3639b374a6688e32fca271e0694.tar.xz forums-cc0446dc17aeb3639b374a6688e32fca271e0694.zip | |
Merge pull request #2430 from nickvergessen/ticket/10839-olympus
[Ticket/10839] olympus - Remove phpunit configuration files
* nickvergessen/ticket/10839-olympus:
[ticket/10839] Fix note about running slow tests and build task
[ticket/10839] Removing phpunit.xml.all
[ticket/10839] Always run functional tests by default
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/RUNNING_TESTS.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/RUNNING_TESTS.md b/tests/RUNNING_TESTS.md index 23c74f4411..d9306d78d7 100644 --- a/tests/RUNNING_TESTS.md +++ b/tests/RUNNING_TESTS.md @@ -110,12 +110,16 @@ 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 +Thus these tests are in the `slow` group, which is excluded by default. If you only want the slow tests, run: $ phpBB/vendor/bin/phpunit --group slow +If you want all tests, run: + + $ phpBB/vendor/bin/phpunit --group __nogroup__,functional,slow + + Functional tests ----------------- @@ -136,10 +140,10 @@ on which to run tests. $phpbb_functional_url = 'http://localhost/phpBB3/'; -To then run the tests, you run PHPUnit, but use the phpunit.xml.functional -config file instead of the default one. Specify this through the "-c" option: +Functional tests are automatically run, if '$phpbb_functional_url' is configured. +If you only want the functional tests, run: - $ phpBB/vendor/bin/phpunit -c phpunit.xml.functional + $ phpBB/vendor/bin/phpunit --group functional This will change your board's config.php file, but it makes a backup at config_dev.php, so you can restore it after the test run is complete. |
