|
|
há 10 anos atrás | |
|---|---|---|
| .. | ||
| privatebin | há 10 anos atrás | |
| .gitignore | há 10 anos atrás | |
| .htaccess | há 10 anos atrás | |
| README.md | há 10 anos atrás | |
| bootstrap.php | há 10 anos atrás | |
| configGenerator.php | há 10 anos atrás | |
| configuration.php | há 10 anos atrás | |
| filter.php | há 10 anos atrás | |
| i18n.php | há 10 anos atrás | |
| jsonApi.php | há 10 anos atrás | |
| model.php | há 10 anos atrás | |
| phpunit.xml | há 10 anos atrás | |
| privatebin.php | há 10 anos atrás | |
| privatebinWithDb.php | há 10 anos atrás | |
| purgelimiter.php | há 10 anos atrás | |
| request.php | há 10 anos atrás | |
| serversalt.php | há 10 anos atrás | |
| sjcl.php | há 10 anos atrás | |
| test.ini | há 10 anos atrás | |
| trafficlimiter.php | há 10 anos atrás | |
| view.php | há 10 anos atrás | |
| vizhash16x16.php | há 10 anos atrás | |
In order to run these tests, you will need to install the following packages and its dependencies:
Example for Debian and Ubuntu:
$ sudo aptitude install phpunit php5-gd php5-sqlite php5-xdebug
To run the tests, just change into this directory and run phpunit:
$ cd PrivateBin/tst
$ phpunit