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 7d1dc55a27
actually use local variable (for Codacy)
8 years ago
..
privatebin actually use local variable (for Codacy) 8 years ago
.gitignore added incorrectly ignored unit test file, correcting ignore 9 years ago
README.md renaming the fork to PrivateBin 8 years ago
RainTPL.php renaming the fork to PrivateBin 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 renaming the fork to PrivateBin 8 years ago
configuration.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 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 renaming the fork to PrivateBin 8 years ago
model.php actually use local variable (for Codacy) 8 years ago
phpunit.xml renaming the fork to PrivateBin 8 years ago
privatebin.php improving code coverage and unit testing 8 years ago
privatebinWithDb.php improving code coverage and unit testing 8 years ago
purgelimiter.php introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3 8 years ago
request.php refactoring to improve code quality 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 renaming the fork to PrivateBin 8 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

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 PrivateBin/tst $ phpunit