diff options
| author | Nils Adermann <naderman@naderman.de> | 2013-05-09 10:30:20 -0700 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2013-05-09 10:30:20 -0700 |
| commit | 3fb536d7b7a51409a87192b2309ccf50ab11564f (patch) | |
| tree | 5984921bf10f9424e2c2f8d12d753f4960ff86b5 /tests | |
| parent | 4e3c5aefa83cac5e128f892915b222d9bd41ee72 (diff) | |
| parent | c31123e8a4f3350cd33be80a8178a0c94617d9c7 (diff) | |
| download | forums-3fb536d7b7a51409a87192b2309ccf50ab11564f.tar forums-3fb536d7b7a51409a87192b2309ccf50ab11564f.tar.gz forums-3fb536d7b7a51409a87192b2309ccf50ab11564f.tar.bz2 forums-3fb536d7b7a51409a87192b2309ccf50ab11564f.tar.xz forums-3fb536d7b7a51409a87192b2309ccf50ab11564f.zip | |
Merge pull request #1387 from bantu/ticket/11513
[ticket/11513] Install PHPUnit via Composer
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/RUNNING_TESTS.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/RUNNING_TESTS.txt b/tests/RUNNING_TESTS.txt index de9c751238..0fa45e7bc4 100644 --- a/tests/RUNNING_TESTS.txt +++ b/tests/RUNNING_TESTS.txt @@ -7,9 +7,14 @@ Prerequisites PHPUnit ------- -phpBB unit tests use PHPUnit framework. Version 3.5 or better is required -to run the tests. PHPUnit prefers to be installed via PEAR; refer to -http://www.phpunit.de/ for more information. +phpBB unit tests use the PHPUnit framework (see http://www.phpunit.de for more +information). Version 3.5 or higher is required to run the tests. PHPUnit can +be installed via Composer together with other development dependencies as +follows. + + $ cd phpBB + $ php ../composer.phar install --dev + $ cd .. PHP extensions -------------- @@ -95,7 +100,7 @@ Running Once the prerequisites are installed, run the tests from the project root directory (above phpBB): - $ phpunit + $ phpBB/vendor/bin/phpunit Slow tests -------------- @@ -105,7 +110,7 @@ Thus these tests are in the `slow` group, which is excluded by default. You can enable slow tests by copying the phpunit.xml.all file to phpunit.xml. If you only want the slow tests, run: - $ phpunit --group slow + $ phpBB/vendor/bin/phpunit --group slow More Information ================ |
