Sobak 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
..
privatebin 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore 10 yıl önce
.htaccess 535710cdd6 Add htaccess to prevent template access 10 yıl önce
README.md 79509ad48a renaming the fork to PrivateBin 10 yıl önce
bootstrap.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
configGenerator.php 79509ad48a renaming the fork to PrivateBin 10 yıl önce
configuration.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
filter.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
i18n.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
jsonApi.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
model.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
privatebin.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
privatebinWithDb.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
purgelimiter.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
request.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
serversalt.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
sjcl.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
test.ini 79509ad48a renaming the fork to PrivateBin 10 yıl önce
trafficlimiter.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
view.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce
vizhash16x16.php 54f96b9938 Introduce PSR-4 autoloading 10 yıl önce

README.md

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