You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
privatebin/tst
El RIDO 0e217a42c5
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
8 years ago
..
zerobin working on JSON-LD validity, added CORS headers preparing external API 9 years ago
.gitignore added incorrectly ignored unit test file, correcting ignore 9 years ago
README.md adding support for automatic code coverage generation into codacy 8 years ago
RainTPL.php fixing deprecations with newer phpunit versions 8 years ago
auto.php reviewed unit tests, fixing line endings, added more tests 9 years ago
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 8 years ago
configGenerator.php fixing deprecations with newer phpunit versions 8 years ago
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 8 years ago
filter.php mostly finished with data model refactoring 9 years ago
i18n.php incrementing version number, updating docs 9 years ago
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 8 years ago
model.php removing some unused code detected by codacy 8 years ago
phpunit.xml adding support for automatic code coverage generation into codacy 8 years ago
request.php removing some unused code detected by codacy 8 years ago
serversalt.php removing some unused code detected by codacy 8 years ago
sjcl.php refactoring how attachments are stored 9 years ago
test.ini slight configuration changes, template modifications to make discussions 9 years ago
trafficlimiter.php improvements to get the HHVM build to pass 8 years ago
vizhash16x16.php removing some unused code detected by codacy 8 years ago
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 8 years ago
zerobinWithDb.php adding UI tests for database configuration, fixed an issue with comment 9 years ago

README.md

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