mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 06:48:52 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/11294] Capitalize phpunit. [ticket/11294] Update required/optional extension list for olympus.
This commit is contained in:
commit
3f03dd7ecd
1 changed files with 19 additions and 2 deletions
|
@ -17,7 +17,24 @@ PHP extensions
|
||||||
Unit tests use several PHP extensions that board code does not use. Currently
|
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:
|
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
|
Database Tests
|
||||||
--------------
|
--------------
|
||||||
|
@ -44,7 +61,7 @@ to use in the environment as follows:
|
||||||
$ PHPBB_TEST_CONFIG=tests/test_config.php phpunit
|
$ PHPBB_TEST_CONFIG=tests/test_config.php phpunit
|
||||||
|
|
||||||
Alternatively you can specify parameters in the environment, so e.g. the
|
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:
|
test_config.php file:
|
||||||
|
|
||||||
$ PHPBB_TEST_DBMS='mysqli' PHPBB_TEST_DBHOST='localhost' \
|
$ PHPBB_TEST_DBMS='mysqli' PHPBB_TEST_DBHOST='localhost' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue