El RIDO bd5a15bcab Merge branch 'master' of github.com:PrivateBin/PrivateBin il y a 10 ans
..
Data 390ef09764 minor cleanup il y a 10 ans
Persistence b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore il y a 10 ans
.htaccess 535710cdd6 Add htaccess to prevent template access il y a 10 ans
Bootstrap.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
ConfigurationTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
ConfigurationTestGenerator.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
I18nTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
JsonApiTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
ModelTest.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening il y a 10 ans
PrivateBinTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
PrivateBinWithDbTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
README.md 79509ad48a renaming the fork to PrivateBin il y a 10 ans
RequestTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
ViewTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans
Vizhash16x16Test.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening il y a 10 ans
phpunit.xml b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup il y a 10 ans

README.md

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-gd php5-sqlite php5-xdebug

To run the tests, just change into this directory and run phpunit:

$ cd PrivateBin/tst
$ phpunit