paste.chapril.org-privatebin/tst
Simon Rupf 907538875b removed leftovers from submodule uglifyjs, added credits file,
cleaned up CSS, changed template to output clean XHTML 5,
added unit tests for 60% of the code, found a few bugs by doing
that and fixed them
2012-08-26 00:49:11 +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 removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
README.md removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
sjcl.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
trafficlimiter.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02: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