privatebin/tst
2016-07-06 09:01:10 +02: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 improvements to get the HHVM build to pass 2016-07-06 09:01:10 +02:00
configGenerator.php fixing deprecations with newer phpunit versions 2016-05-22 18:35:07 +02:00
configuration.php removing some unused code detected by codacy 2016-07-04 20:46:45 +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 removing some unused code detected by codacy 2016-07-04 20:46:45 +02:00
phpunit.xml adding support for automatic code coverage generation into codacy 2016-07-05 17:01:26 +02:00
RainTPL.php fixing deprecations with newer phpunit versions 2016-05-22 18:35:07 +02:00
README.md adding support for automatic code coverage generation into codacy 2016-07-05 17:01:26 +02:00
request.php removing some unused code detected by codacy 2016-07-04 20:46:45 +02:00
serversalt.php removing some unused code detected by codacy 2016-07-04 20:46:45 +02:00
sjcl.php
test.ini
trafficlimiter.php improvements to get the HHVM build to pass 2016-07-06 09:01:10 +02:00
vizhash16x16.php removing some unused code detected by codacy 2016-07-04 20:46:45 +02:00
zerobin.php improvements to get the HHVM build to pass 2016-07-06 09:01:10 +02: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-gd php5-sqlite php5-xdebug

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