privatebin/tst
2015-11-09 21:39:42 +01:00
..
zerobin working on JSON-LD validity, added CORS headers preparing external API 2015-10-18 14:37:58 +02:00
.gitignore added incorrectly ignored unit test file, correcting ignore 2015-10-22 20:51:01 +02:00
auto.php
bootstrap.php changing paste read output for API refactoring 2015-10-18 11:08:28 +02:00
configGenerator.php incrementing version, updating changelog, added missing phpdoc comments 2015-11-09 21:39:42 +01:00
configuration.php expire_options and formatter_options should not be filled up with 2015-10-24 08:44:17 +02:00
filter.php
i18n.php
jsonApi.php adding unit tests for all JSON-LD cases 2015-10-18 14:46:07 +02:00
model.php
phpunit.xml
RainTPL.php adding option to hide clone button on expiring pastes, resolves #34 2015-10-18 17:56:45 +02:00
README.md
request.php refactoring delete API, added external JSON-LD context 2015-10-11 21:22:00 +02:00
serversalt.php
sjcl.php
test.ini
trafficlimiter.php
vizhash16x16.php
zerobin.php improved database backend support for larger files (100 KiB - 16 MiB), 2015-11-01 17:02:20 +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