rugk ec7af3a738 Improve formatting 10 years ago
..
Data e925833090 bumping version number to 1.0 10 years ago
Persistence bea9a577a6 Use better random number generator #29 10 years ago
.gitignore 3d7b35aed4 PSR-2/4 fixes 10 years ago
.htaccess 535710cdd6 Add htaccess to prevent template access 10 years ago
Bootstrap.php 3d7b35aed4 PSR-2/4 fixes 10 years ago
ConfigurationTest.php 3d7b35aed4 PSR-2/4 fixes 10 years ago
ConfigurationTestGenerator.php 3d7b35aed4 PSR-2/4 fixes 10 years ago
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
I18nTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
JsonApiTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
ModelTest.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening 10 years ago
PrivateBinTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
PrivateBinWithDbTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
README.md ec7af3a738 Improve formatting 10 years ago
RequestTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago
ViewTest.php 3d7b35aed4 PSR-2/4 fixes 10 years ago
Vizhash16x16Test.php 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening 10 years ago
phpunit.xml b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 years ago

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