updating unit testing README with new requirements for eris library

This commit is contained in:
El RIDO 2017-02-26 17:03:14 +01:00
parent 6a9f3303dc
commit b80ce78e01
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -8,10 +8,13 @@ and its dependencies:
* php-sqlite3 * php-sqlite3
* php-curl (optional, for codeclimate test reporter) * php-curl (optional, for codeclimate test reporter)
* php-xdebug (optional, for code coverage reports) * php-xdebug (optional, for code coverage reports)
* composer (to install eris property based unit tests)
Example for Debian and Ubuntu: Example for Debian and Ubuntu:
```console ```console
$ sudo apt install phpunit php-gd php-sqlite php-curl php-xdebug $ sudo apt install phpunit php-gd php-sqlite php-curl php-xdebug composer
$ cd PrivateBin
$ composer update
``` ```
To run the tests, just change into this directory and run phpunit: To run the tests, just change into this directory and run phpunit: