PrivateBin/tst/README.md

21 lines
395 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
2016-11-13 05:01:51 -05:00
* php-gd
* php-sqlite3
2016-11-13 05:01:51 -05:00
* php-xdebug
Example for Debian and Ubuntu:
2016-09-14 17:55:55 -04:00
```sh
2016-11-13 05:01:51 -05:00
$ sudo aptitude install phpunit php-gd php-sqlite php-xdebug
2016-09-14 17:55:55 -04:00
```
To run the tests, just change into this directory and run phpunit:
2016-09-14 17:55:55 -04:00
```sh
$ cd PrivateBin/tst
$ phpunit
```