privatebin/tst
2016-01-31 09:56:06 +01:00
..
zerobin
.gitignore added incorrectly ignored unit test file, correcting ignore 2015-10-22 20:51:01 +02:00
auto.php
bootstrap.php
configGenerator.php incrementing version, updating changelog, added missing phpdoc comments 2015-11-09 21:39:42 +01:00
configuration.php re-introducing (optional) URL shortener support, resolves #58 2016-01-31 09:56:06 +01:00
filter.php
i18n.php
jsonApi.php
model.php
phpunit.xml
RainTPL.php re-introducing (optional) URL shortener support, resolves #58 2016-01-31 09:56:06 +01:00
README.md
request.php
serversalt.php
sjcl.php
test.ini
trafficlimiter.php
vizhash16x16.php
zerobin.php re-introducing (optional) URL shortener support, resolves #58 2016-01-31 09:56:06 +01:00
zerobinWithDb.php

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