El RIDO 0a628e83c1 Merge pull request #59 from PrivateBin/52-identicons 10 роки тому
..
Data 6cb7454d07 Added tests for JSON errors, should help us figure out the cause of the problem in #11 10 роки тому
Persistence b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore 11 роки тому
.htaccess 535710cdd6 Add htaccess to prevent template access 10 роки тому
Bootstrap.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
ConfigurationTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
ConfigurationTestGenerator.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
I18nTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
JsonApiTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
ModelTest.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening 10 роки тому
PrivateBinTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
PrivateBinWithDbTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
README.md 79509ad48a renaming the fork to PrivateBin 10 роки тому
RequestTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
ViewTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому
Vizhash16x16Test.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening 10 роки тому
phpunit.xml b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 роки тому

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