privatebin/tst
2016-07-06 11:37:13 +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 introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103 2016-07-06 11:37:13 +02:00
configGenerator.php fixing deprecations with newer phpunit versions 2016-05-22 18:35:07 +02:00
configuration.php introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103 2016-07-06 11:37:13 +02:00
filter.php mostly finished with data model refactoring 2015-09-27 03:03:55 +02:00
i18n.php incrementing version number, updating docs 2015-09-19 17:23:10 +02:00
jsonApi.php introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103 2016-07-06 11:37:13 +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 refactoring how attachments are stored 2015-09-26 12:29:27 +02:00
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 introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103 2016-07-06 11:37:13 +02:00
zerobinWithDb.php adding UI tests for database configuration, fixed an issue with comment 2015-10-03 15:52:37 +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-gd php5-sqlite php5-xdebug

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