El RIDO 06496f2ede updated View test to test every available template instead of just the page one 9 年 前
..
Data 577031cc1f written unit test to reproduce #149 9 年 前
Persistence bea9a577a6 Use better random number generator #29 10 年 前
.gitignore 3d7b35aed4 PSR-2/4 fixes 10 年 前
.htaccess 535710cdd6 Add htaccess to prevent template access 10 年 前
Bootstrap.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
ConfigurationTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
ConfigurationTestGenerator.php f628ac78f8 Fix style of operator spaces 9 年 前
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 年 前
I18nTest.php f79c00378b Choosing correct Occitan plural formula, added unit tests for Occitan and Chinese, corrected casing of languages in unit test 9 年 前
JsonApiTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
ModelTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
PrivateBinTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
PrivateBinWithDbTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
README.md 0506ac018d correcting instructions based on Ubuntu 16.04 9 年 前
RequestTest.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 年 前
ViewTest.php 06496f2ede updated View test to test every available template instead of just the page one 9 年 前
Vizhash16x16Test.php 1f46823942 applying patch based on StyleCI ruleset 9 年 前
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
  • php-gd
  • php-sqlite3
  • php-xdebug

Example for Debian and Ubuntu:

$ sudo aptitude install phpunit php-gd php-sqlite php-xdebug

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

$ cd PrivateBin/tst
$ phpunit