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

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