mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 15:29:23 -05:00
.. | ||
Data | ||
Persistence | ||
.gitignore | ||
.htaccess | ||
Bootstrap.php | ||
ConfigurationTest.php | ||
ConfigurationTestGenerator.php | ||
FilterTest.php | ||
I18nTest.php | ||
JsonApiTest.php | ||
ModelTest.php | ||
phpunit.xml | ||
PrivateBinTest.php | ||
PrivateBinWithDbTest.php | ||
README.md | ||
RequestTest.php | ||
SjclTest.php | ||
ViewTest.php | ||
Vizhash16x16Test.php |
Running unit tests
In order to run these tests, you will need to install the following packages and its dependencies:
- phpunit
- php-gd
- php-sqlite3
- php-xdebug
Example for Debian and Ubuntu:
$ sudo aptitude install phpunit php-gd php-sqlite php-xdebug
To run the tests, just change into this directory and run phpunit:
$ cd PrivateBin/tst
$ phpunit