privatebin/tst
2016-07-19 15:26:41 +02:00
..
privatebin actually use local variable (for Codacy) 2016-07-19 08:40:33 +02:00
.gitignore
.htaccess Add htaccess to prevent template access 2016-07-19 14:43:30 +02:00
auto.php
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
i18n.php
jsonApi.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
model.php actually use local variable (for Codacy) 2016-07-19 08:40:33 +02:00
phpunit.xml renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
privatebin.php addressing issues with failed attachement uploads due to webserver configuration, resolves #15 2016-07-19 15:26:41 +02:00
privatebinWithDb.php improving code coverage and unit testing 2016-07-18 14:47:32 +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
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
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
view.php refactoring away RainTPL and templating, resolves #36 2016-07-19 14:02:26 +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