privatebin/tst
El RIDO b25022e403 refactored JSON API, its now possible to retrieve pastes as JSON, which
is now used when posting comments, eliminating the need to store the
password in sessionStorage
2015-09-01 22:33:07 +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
bootstrap.php refining configuration test generator, now supporting conditions on 2015-08-29 10:41:10 +02:00
configGenerator.php slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +02:00
filter.php
phpunit.xml working on configuration unit test generator as described in #16 2015-08-29 01:26:48 +02:00
RainTPL.php slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +02:00
README.md
serversalt.php
sjcl.php
test.ini slight configuration changes, template modifications to make discussions 2015-08-31 00:01:35 +02:00
trafficlimiter.php
vizhash16x16.php
zerobin.php refactored JSON API, its now possible to retrieve pastes as JSON, which 2015-09-01 22:33:07 +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