privatebin/tst
2016-07-19 14:02:26 +02:00
..
privatebin actually use local variable (for Codacy) 2016-07-19 08:40:33 +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 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 improving code coverage and unit testing 2016-07-18 14:47:32 +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
sjcl.php
test.ini renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
trafficlimiter.php
view.php refactoring away RainTPL and templating, resolves #36 2016-07-19 14:02:26 +02:00
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