El RIDO f72e260ee7 adding subresource integrity hashes for all javascript includes, resolves #6 %!s(int64=10) %!d(string=hai) anos
..
Data 390ef09764 minor cleanup %!s(int64=10) %!d(string=hai) anos
Persistence bea9a577a6 Use better random number generator #29 %!s(int64=10) %!d(string=hai) anos
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore %!s(int64=10) %!d(string=hai) anos
.htaccess 535710cdd6 Add htaccess to prevent template access %!s(int64=10) %!d(string=hai) anos
Bootstrap.php f72e260ee7 adding subresource integrity hashes for all javascript includes, resolves #6 %!s(int64=10) %!d(string=hai) anos
ConfigurationTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
ConfigurationTestGenerator.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
I18nTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
JsonApiTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
ModelTest.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening %!s(int64=10) %!d(string=hai) anos
PrivateBinTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
PrivateBinWithDbTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
README.md 79509ad48a renaming the fork to PrivateBin %!s(int64=10) %!d(string=hai) anos
RequestTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos
ViewTest.php f72e260ee7 adding subresource integrity hashes for all javascript includes, resolves #6 %!s(int64=10) %!d(string=hai) anos
Vizhash16x16Test.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening %!s(int64=10) %!d(string=hai) anos
phpunit.xml b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup %!s(int64=10) %!d(string=hai) anos

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