bintzwing/tst
Sebastien SAUVAGE 7db76d8d71 Updated json checking.
- adapted to SJCL changed
- added entropy checking (from
f2ee2e8ba2)

(cherry picked from commit 57e6274c64e2c99c754b63586af6b34c374fbc2b)

Conflicts:
	index.php
2015-08-15 18:16:55 +02:00
..
zerobin removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
auto.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
bootstrap.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
filter.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
phpunit.xml removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
RainTPL.php small unit testing improvements, removing never accessed code 2015-08-15 16:37:44 +02:00
README.md removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
sjcl.php Updated json checking. 2015-08-15 18:16:55 +02:00
trafficlimiter.php ZeroBin 0.17 2013-11-01 01:15:14 +01:00
vizhash16x16.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +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