El RIDO 3fa0881c07 updated documentation, small cleanups 10 年之前
..
Data b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 年之前
Persistence b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 年之前
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore 10 年之前
.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 3fa0881c07 updated documentation, small cleanups 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 b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 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