PrivateBin/tst
El RIDO 0e53d1ee86 added markdown support and a dropdown for the format selection. The
options other then markdown are plain text and source code (syntax
highlighting). Resolves #25
2015-09-12 17:33:16 +02:00
..
zerobin concluding work on configuration test generator for #16. Replaced a few 2015-08-29 20:29:14 +02:00
.gitignore slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +02:00
auto.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
bootstrap.php initial work on translations, covering the PHP side of it 2015-09-05 02:24:56 +02:00
configGenerator.php slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +02:00
filter.php - implemented php side of plural translation 2015-09-06 19:21:17 +02:00
i18n.php - implemented php side of plural translation 2015-09-06 19:21:17 +02:00
phpunit.xml working on configuration unit test generator as described in #16 2015-08-29 01:26:48 +02:00
RainTPL.php added markdown support and a dropdown for the format selection. The 2015-09-12 17:33:16 +02:00
README.md removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
serversalt.php created initial unit tests for main zerobin class 2015-08-27 23:30:35 +02:00
sjcl.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
test.ini slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +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
zerobin.php added markdown support and a dropdown for the format selection. The 2015-09-12 17:33:16 +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