ctrlv-privatebin/tst
Sobak 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
..
privatebin Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
.gitignore added incorrectly ignored unit test file, correcting ignore 2015-10-22 20:51:01 +02:00
.htaccess Add htaccess to prevent template access 2016-07-19 14:43:30 +02:00
README.md renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
bootstrap.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
configGenerator.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
configuration.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
filter.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
i18n.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
jsonApi.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
model.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
phpunit.xml Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
privatebin.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
privatebinWithDb.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
purgelimiter.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
request.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
serversalt.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00
sjcl.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
test.ini renaming the fork to PrivateBin 2016-07-11 11:58:15 +02:00
trafficlimiter.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
view.php Introduce PSR-4 autoloading 2016-07-22 12:11:48 +02:00
vizhash16x16.php Convert to PSR-2 coding style (using phpcs-fixer) 2016-07-26 08:19:35 +02:00

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