.. | ||
privatebin | ||
.gitignore | ||
auto.php | ||
bootstrap.php | ||
configGenerator.php | ||
configuration.php | ||
filter.php | ||
i18n.php | ||
jsonApi.php | ||
model.php | ||
phpunit.xml | ||
privatebin.php | ||
privatebinWithDb.php | ||
purgelimiter.php | ||
RainTPL.php | ||
README.md | ||
request.php | ||
serversalt.php | ||
sjcl.php | ||
test.ini | ||
trafficlimiter.php | ||
vizhash16x16.php |
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: $ sudo aptitude install phpunit php5-gd php5-sqlite php5-xdebug
To run the tests, just change into this directory and run phpunit: $ cd PrivateBin/tst $ phpunit