2012-08-26 00:49:11 +02:00
|
|
|
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-07-05 17:01:26 +02:00
|
|
|
$ sudo aptitude install phpunit php5-gd php5-sqlite php5-xdebug
|
2012-08-26 00:49:11 +02:00
|
|
|
|
|
|
|
To run the tests, just change into this directory and run phpunit:
|
2016-07-11 11:58:15 +02:00
|
|
|
$ cd PrivateBin/tst
|
2012-08-26 00:49:11 +02:00
|
|
|
$ phpunit
|