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

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