PrivateBin/tst
El RIDO f775da3931 fixing nasty deletion bug from #15, included unit tests to trigger it
and reworked persistence classes to through exceptions rather to fail
silently
2015-08-27 21:41:21 +02:00
..
zerobin fixing nasty deletion bug from #15, included unit tests to trigger it 2015-08-27 21:41:21 +02:00
auto.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
bootstrap.php fixing nasty deletion bug from #15, included unit tests to trigger it 2015-08-27 21:41:21 +02:00
filter.php Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
mcrypt_mock.php Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
phpunit.xml Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
RainTPL.php made highlighting more configurable, added all four themes, there is now a configurable flavour text (notice) 2015-08-17 23:18:33 +02:00
README.md removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
serversalt.php fixing nasty deletion bug from #15, included unit tests to trigger it 2015-08-27 21:41:21 +02:00
sjcl.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
trafficlimiter.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
vizhash16x16.php fixing nasty deletion bug from #15, included unit tests to trigger it 2015-08-27 21:41:21 +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-mysql php5-xdebug

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