mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
b060d57524
- using it to generate labels dynamically for the expire options (deprecating the [expire_labels] configuration). - added translation of the human readable data sizes to support the french octet - fixed IEC label for kibibytes |
||
---|---|---|
.. | ||
zerobin | ||
.gitignore | ||
auto.php | ||
bootstrap.php | ||
configGenerator.php | ||
filter.php | ||
i18n.php | ||
phpunit.xml | ||
RainTPL.php | ||
README.md | ||
serversalt.php | ||
sjcl.php | ||
test.ini | ||
trafficlimiter.php | ||
vizhash16x16.php | ||
zerobin.php |
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