X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FUnit-tests.md;h=f6030d5c2f6134848b58ed8987f1458c8dd4df23;hb=refs%2Fpull%2F1028%2Fhead;hp=d200634f6ea6513ff5094abc7971e0752cd2b543;hpb=3ec25cc00fb7abe29a4a3061d9974cf82f2888d1;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Unit-tests.md b/doc/md/Unit-tests.md index d200634f..f6030d5c 100644 --- a/doc/md/Unit-tests.md +++ b/doc/md/Unit-tests.md @@ -2,12 +2,12 @@ The framework used is [PHPUnit](https://phpunit.de/); it can be installed with [Composer](https://getcomposer.org/), which is a dependency management tool. -Regarding Composer, you can either use: +### Install composer -- a system-wide version, e.g. installed through your distro's package manager -- a local version, downloadable [here](https://getcomposer.org/download/) +You can either use: -#### Sample usage +- a system-wide version, e.g. installed through your distro's package manager +- a local version, downloadable [here](https://getcomposer.org/download/). ```bash # system-wide version @@ -29,6 +29,8 @@ $ composer update #### Install and enable Xdebug to generate PHPUnit coverage reports +See http://xdebug.org/docs/install + For Debian-based distros: ```bash $ aptitude install php5-xdebug