[ticket/10892] Reformat RUNNING_TESTS.txt to 80 char lines.

PHPBB3-10892
This commit is contained in:
Patrick Webster 2012-04-12 20:10:20 -05:00 committed by Oleg Pudeyev
parent 1fcb269616
commit 3a60414592

View file

@ -36,8 +36,9 @@ found on the wiki (see below).
$dbuser = 'user'; $dbuser = 'user';
$dbpasswd = 'password'; $dbpasswd = 'password';
Alternatively you can specify parameters in the environment, so e.g. the following Alternatively you can specify parameters in the environment, so e.g. the
will run phpunit with the same parameters as in the shown test_config.php file: following will run phpunit with the same parameters as in the shown
test_config.php file:
$ PHPBB_TEST_DBMS='mysqli' PHPBB_TEST_DBHOST='localhost' \ $ PHPBB_TEST_DBMS='mysqli' PHPBB_TEST_DBHOST='localhost' \
PHPBB_TEST_DBNAME='database' PHPBB_TEST_DBUSER='user' \ PHPBB_TEST_DBNAME='database' PHPBB_TEST_DBUSER='user' \
@ -46,7 +47,8 @@ will run phpunit with the same parameters as in the shown test_config.php file:
Running Running
======= =======
Once the prerequisites are installed, run the tests from the project root directory (above phpBB): Once the prerequisites are installed, run the tests from the project root
directory (above phpBB):
$ phpunit $ phpunit
@ -54,8 +56,8 @@ Slow tests
-------------- --------------
Certain tests, such as the UTF-8 normalizer or the DNS tests tend to be slow. 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 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 enable slow tests by copying the phpunit.xml.all file to phpunit.xml. If you
want the slow tests, run: only want the slow tests, run:
$ phpunit --group slow $ phpunit --group slow