paste.chapril.org-privatebin/tst/README.md

21 lines
400 B
Markdown
Raw Normal View History

Running unit tests
==================
In order to run these tests, you will need to install the following packages
and its dependencies:
* phpunit
* php5-gd
* php5-sqlite
* php5-xdebug
Example for Debian and Ubuntu:
2016-09-14 23:55:55 +02:00
```sh
$ sudo aptitude install phpunit php5-gd php5-sqlite php5-xdebug
```
To run the tests, just change into this directory and run phpunit:
2016-09-14 23:55:55 +02:00
```sh
$ cd PrivateBin/tst
$ phpunit
```