PrivateBin/tst
2016-07-18 10:14:38 +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 added incorrectly ignored unit test file, correcting ignore 2015-10-22 20:51:01 +02:00
auto.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
bootstrap.php introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103 2016-07-06 11:37:13 +02:00
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 mostly finished with data model refactoring 2015-09-27 03:03:55 +02:00
i18n.php incrementing version number, updating docs 2015-09-19 17:23:10 +02:00
jsonApi.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
model.php introduce option to disable vizhash for paranoid admins, resolves #20 point 2.4 2016-07-18 10:14:38 +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 removing some unused code detected by codacy 2016-07-04 20:46:45 +02:00
sjcl.php refactoring how attachments are stored 2015-09-26 12:29:27 +02:00
test.ini renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
trafficlimiter.php improvements to get the HHVM build to pass 2016-07-06 09:01:10 +02:00
vizhash16x16.php removing some unused code detected by codacy 2016-07-04 20:46:45 +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: $ 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