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

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