aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-07-08 20:10:17 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-07-08 20:10:17 +0200
commita2918fd98e61db0e7e9885fb546abc024c84d0fc (patch)
tree9fa6b52d6bb55ec5256c67e821550e111ee50dbe /tests
parent31b221ae913c49fa2e2a776bd9fd54659728fcd0 (diff)
parent6da582e8be50fa7211706625402215f6f87ed48b (diff)
downloadforums-a2918fd98e61db0e7e9885fb546abc024c84d0fc.tar
forums-a2918fd98e61db0e7e9885fb546abc024c84d0fc.tar.gz
forums-a2918fd98e61db0e7e9885fb546abc024c84d0fc.tar.bz2
forums-a2918fd98e61db0e7e9885fb546abc024c84d0fc.tar.xz
forums-a2918fd98e61db0e7e9885fb546abc024c84d0fc.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9704] Fix minor typo in coding guidelines. [ticket/9690] Add forthcoming Bing Bot to list of recognized bots [ticket/9451] Add optional $can_upload parameter to avatar_process_user(). [ticket/9593] A readme file for unit tests and running unit tests. [ticket/9570] Changed "system" to "guest" timezone in ACP, added explanation. [ticket/9589] Added sample nginx configuration file for phpbb.
Diffstat (limited to 'tests')
-rw-r--r--tests/RUNNING_TESTS.txt33
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