El RIDO 9bde729cb5 Merge pull request #54 from Sobak/coding-style hace 10 años
..
privatebin 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore hace 10 años
.htaccess 535710cdd6 Add htaccess to prevent template access hace 10 años
README.md 79509ad48a renaming the fork to PrivateBin hace 10 años
bootstrap.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
configGenerator.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
configuration.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
filter.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
i18n.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
jsonApi.php 9bde729cb5 Merge pull request #54 from Sobak/coding-style hace 10 años
model.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading hace 10 años
privatebin.php 9bde729cb5 Merge pull request #54 from Sobak/coding-style hace 10 años
privatebinWithDb.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
purgelimiter.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
request.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
serversalt.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años
sjcl.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
test.ini 79509ad48a renaming the fork to PrivateBin hace 10 años
trafficlimiter.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
view.php 54f96b9938 Introduce PSR-4 autoloading hace 10 años
vizhash16x16.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) hace 10 años

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