similarity index 96%
rename from doc/Unit-tests.md
rename to doc/md/Unit-tests.md
index 0942ad382fd18f0b4f976f22fb560bb9e22c7842..1983872193bfd861129de6698cefa6eef05087b0 100644 (file)
-The framework used is [PHPUnit](https://phpunit.de/); it can be installed with [Composer](https://getcomposer.org/), which is a dependency management tool.[](.html)
+
+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:
* a system-wide version, e.g. installed through your distro's package manager
Regarding Composer, you can either use:
* a system-wide version, e.g. installed through your distro's package manager
-* a local version, downloadable [here](https://getcomposer.org/download/)[](.html)
+* a local version, downloadable [here](https://getcomposer.org/download/)
By default, PHPUnit will run all suitable tests found under the `tests` directory.
Each test has 3 possible outcomes:
By default, PHPUnit will run all suitable tests found under the `tests` directory.
Each test has 3 possible outcomes:
@@ -128,7+132,8 @@ If Xdebug has been installed and activated, two coverage reports will be generat
* to open it in a web browser: `firefox coverage/index.html &`
### Executing specific tests
* to open it in a web browser: `firefox coverage/index.html &`
### Executing specific tests
-Add a [`@group`](https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.group) annotation in a test class or method comment:[](.html)
+
+Add a [`@group`](https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.group) annotation in a test class or method comment:
```php
/**
```php
/**
@@ -137,7+142,7 @@ Add a [`@group`](https://phpunit.de/manual/current/en/appendixes.annotations.htm
*/
class BookmarkImportTest extends PHPUnit_Framework_TestCase
{
*/
class BookmarkImportTest extends PHPUnit_Framework_TestCase