Simon Rupf d14eb0efe4 fixing configuration and its test to match the new namespaces há 10 anos atrás
..
privatebin 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore há 10 anos atrás
.htaccess 535710cdd6 Add htaccess to prevent template access há 10 anos atrás
README.md 79509ad48a renaming the fork to PrivateBin há 10 anos atrás
bootstrap.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
configGenerator.php 79509ad48a renaming the fork to PrivateBin há 10 anos atrás
configuration.php d14eb0efe4 fixing configuration and its test to match the new namespaces há 10 anos atrás
filter.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
i18n.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
jsonApi.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
model.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
privatebin.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
privatebinWithDb.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
purgelimiter.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
request.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
serversalt.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
sjcl.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
test.ini 79509ad48a renaming the fork to PrivateBin há 10 anos atrás
trafficlimiter.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
view.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás
vizhash16x16.php 54f96b9938 Introduce PSR-4 autoloading há 10 anos atrás

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