introduced property based unit tests using the eris library, found an unhandled error case (empty string) in the Vizhash library and handled it

This commit is contained in:
El RIDO
2017-02-26 11:21:52 +01:00
parent db307c3a77
commit 59adfc1962
4 changed files with 38 additions and 4 deletions

View File

@@ -6,11 +6,12 @@ and its dependencies:
* phpunit
* php-gd
* php-sqlite3
* php-xdebug (for code coverage reports)
* php-curl (optional, for codeclimate test reporter)
* php-xdebug (optional, for code coverage reports)
Example for Debian and Ubuntu:
```console
$ sudo apt install phpunit php-gd php-sqlite php-xdebug
$ sudo apt install phpunit php-gd php-sqlite php-curl php-xdebug
```
To run the tests, just change into this directory and run phpunit: