aboutsummaryrefslogtreecommitdiffstats
path: root/tests/RUNNING_TESTS.txt
blob: f1b40f71adec333f95e8dde27f73ee133d69af02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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