PrivateBin/tst
2016-07-22 12:11:48 +02:00
..
privatebin Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
.gitignore added incorrectly ignored unit test file, correcting ignore 2015-10-22 20:51:01 +02:00
.htaccess Add htaccess to prevent template access 2016-07-19 14:43:30 +02:00
bootstrap.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
configGenerator.php renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
configuration.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
filter.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
i18n.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
jsonApi.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
model.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
phpunit.xml Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
privatebin.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
privatebinWithDb.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
purgelimiter.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
README.md renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
request.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
serversalt.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
sjcl.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
test.ini renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
trafficlimiter.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
view.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
vizhash16x16.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +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