privatebin/tst
2016-07-15 17:02:59 +02:00
..
privatebin introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 2016-07-15 17:02:59 +02:00
.gitignore
auto.php
bootstrap.php
configGenerator.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
configuration.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 2016-07-15 17:02:59 +02:00
filter.php
i18n.php
jsonApi.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
model.php refactoring to improve code quality 2016-07-11 14:15:20 +02:00
phpunit.xml renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
privatebin.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 2016-07-15 17:02:59 +02:00
privatebinWithDb.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 2016-07-15 17:02:59 +02:00
purgelimiter.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 2016-07-15 17:02:59 +02:00
RainTPL.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
README.md renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
request.php refactoring to improve code quality 2016-07-11 14:15:20 +02:00
serversalt.php
sjcl.php
test.ini renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
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