diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-12-26 16:45:01 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-12-26 16:45:01 +0100 |
commit | cd890132bb6078290b227234d643a0bf34b81ef9 (patch) | |
tree | a2031d96dc2fb612f4c41a24be4f4fed4a5911bc /tests | |
parent | c701de695f33d78e99517b9213eb06a95e57f9a0 (diff) | |
parent | bc797c7da22ef1b0c68494d9a93eb23b981e2ebd (diff) | |
download | forums-cd890132bb6078290b227234d643a0bf34b81ef9.tar forums-cd890132bb6078290b227234d643a0bf34b81ef9.tar.gz forums-cd890132bb6078290b227234d643a0bf34b81ef9.tar.bz2 forums-cd890132bb6078290b227234d643a0bf34b81ef9.tar.xz forums-cd890132bb6078290b227234d643a0bf34b81ef9.zip |
Merge remote-tracking branch 'p/ticket/11294' into develop-olympus
* p/ticket/11294:
[ticket/11294] Capitalize phpunit.
[ticket/11294] Update required/optional extension list for olympus.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RUNNING_TESTS.txt | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tests/RUNNING_TESTS.txt b/tests/RUNNING_TESTS.txt index 7c2a7c3fce..de9c751238 100644 --- a/tests/RUNNING_TESTS.txt +++ b/tests/RUNNING_TESTS.txt @@ -17,7 +17,24 @@ PHP extensions Unit tests use several PHP extensions that board code does not use. Currently the following PHP extensions must be installed and enabled to run unit tests: -- ctype +- ctype (also a PHPUnit dependency) +- dom (PHPUnit dependency) + +Some of the functionality in phpBB and/or the test suite uses additional +PHP extensions. If these extensions are not loaded, respective tests +will be skipped: + +- apc (APC cache driver) +- bz2 (compress tests) +- interbase, pdo_firebird (Firebird database driver) +- mysql, pdo_mysql (MySQL database driver) +- mysqli, pdo_mysql (MySQLi database driver) +- pdo (any database tests) +- pgsql, pdo_pgsql (PostgreSQL database driver) +- simplexml (any database tests) +- sqlite, pdo_sqlite (SQLite database driver, requires SQLite 2.x support + in pdo_sqlite) +- zlib (compress tests) Database Tests -------------- @@ -44,7 +61,7 @@ to use in the environment as follows: $ PHPBB_TEST_CONFIG=tests/test_config.php phpunit Alternatively you can specify parameters in the environment, so e.g. the -following will run phpunit with the same parameters as in the shown +following will run PHPUnit with the same parameters as in the shown test_config.php file: $ PHPBB_TEST_DBMS='mysqli' PHPBB_TEST_DBHOST='localhost' \ |