privatebin/tst
2015-09-27 14:36:20 +02:00
..
zerobin improving unit tests, fixing regression in DB model 2015-09-27 14:36:20 +02:00
.gitignore
auto.php
bootstrap.php mostly finished with data model refactoring 2015-09-27 03:03:55 +02:00
configGenerator.php adapting configGenerator for 0.21 2015-09-22 23:45:52 +02:00
filter.php mostly finished with data model refactoring 2015-09-27 03:03:55 +02:00
i18n.php
model.php improving unit tests, fixing regression in DB model 2015-09-27 14:36:20 +02:00
phpunit.xml
RainTPL.php
README.md
serversalt.php
sjcl.php refactoring how attachments are stored 2015-09-26 12:29:27 +02:00
test.ini
trafficlimiter.php preparing unit test for model refactoring, refactoring traffic limiter 2015-09-26 17:57:46 +02:00
vizhash16x16.php
zerobin.php mostly finished with data model refactoring 2015-09-27 03:03:55 +02:00

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-mysql php5-xdebug

To run the tests, just change into this directory and run phpunit: $ cd ZeroBin/tst $ phpunit