diff options
author | Guy Brand <gb@unistra.fr> | 2013-07-31 12:31:35 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-01 11:11:52 +0200 |
commit | 87e03c3bebf87c1a71a40fbf873cdd1f836d4fb2 (patch) | |
tree | 7dc9f735e04bbd1b79e36a6d824e3c068755bf44 | |
parent | 3094862ca5cce36390a6cc4e04c57e82795a68b4 (diff) | |
download | rpg-87e03c3bebf87c1a71a40fbf873cdd1f836d4fb2.tar.gz rpg-87e03c3bebf87c1a71a40fbf873cdd1f836d4fb2.tar.bz2 |
Fixed instructions on PHPunit
-rw-r--r-- | _test/README | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/_test/README b/_test/README index a4206f489..5220248b2 100644 --- a/_test/README +++ b/_test/README @@ -1,6 +1,6 @@ ====== DokuWiki Test Suite ====== -This is the test suit to automatically test various parts of DokuWiki. +This is the test suite to automatically test various parts of DokuWiki. ===== Requirements ===== @@ -9,22 +9,33 @@ This is the test suit to automatically test various parts of DokuWiki. ===== PHPUnit Installation ====== -via PEAR: +==== via PEAR installer ==== pear config-set auto_discover 1 - pear upgrade pear install pear.phpunit.de/PHPUnit -on Windows: +==== via Composer ==== - FIXME +Include a composer.json file in your project, which can be as minimal as: + +<code> +{ + "require-dev": { + "phpunit/phpunit": "3.7.*" + } +} +</code> + +==== via PHP archive (PHAR) ==== + +Download http://pear.phpunit.de/get/phpunit.phar and make it executable on your system. -===== Running all Tests ===== +===== Running all tests ===== Just change to the ''_test'' directory and run phpunit: - cd _testing/ + cd _test/ phpunit PHPUnit will fail on some systems with a //headers already sent// error. |