diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-07-08 20:00:26 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-07-08 20:00:26 +0200 |
commit | 7a0b55472484d44cf09e260afdcee60d2527e944 (patch) | |
tree | ad7f120125761ee2efc4af8c6429cf7e44bb9176 | |
parent | c3db21bfa2a01a3de6fd520f99b0399d8cdf5748 (diff) | |
parent | 030f9c03c66950d4ec94567108f4baa8da709ab6 (diff) | |
download | forums-7a0b55472484d44cf09e260afdcee60d2527e944.tar forums-7a0b55472484d44cf09e260afdcee60d2527e944.tar.gz forums-7a0b55472484d44cf09e260afdcee60d2527e944.tar.bz2 forums-7a0b55472484d44cf09e260afdcee60d2527e944.tar.xz forums-7a0b55472484d44cf09e260afdcee60d2527e944.zip |
Merge branch 'ticket/p/9593' into develop-olympus
* ticket/p/9593:
[ticket/9593] A readme file for unit tests and running unit tests.
-rw-r--r-- | tests/RUNNING_TESTS.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/RUNNING_TESTS.txt b/tests/RUNNING_TESTS.txt new file mode 100644 index 0000000000..f1b40f71ad --- /dev/null +++ b/tests/RUNNING_TESTS.txt @@ -0,0 +1,33 @@ +Running Tests +------------- + +Prerequisites +------------- + +PHPUnit +======= + +phpBB unit tests use PHPUnit framework. Version 3.3 or better is required +to run the tests. PHPUnit prefers to be installed via PEAR; refer to +http://www.phpunit.de/ for more information. + +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 + +Running +------- + +Once the prerequisites are installed, run the tests from tests directory: + +$ phpunit all_tests.php + +More Information +---------------- + +Further information is available on phpbb wiki: +http://wiki.phpbb.com/display/DEV/Unit+Tests |