rugk bb639d7894 changes the file extension to php and adds a small one-liner to stop PHP from presenting the file to any website visitor 9 anos atrás
..
Data 577031cc1f written unit test to reproduce #149 10 anos atrás
Persistence bea9a577a6 Use better random number generator #29 10 anos atrás
.gitignore 3d7b35aed4 PSR-2/4 fixes 10 anos atrás
.htaccess 535710cdd6 Add htaccess to prevent template access 10 anos atrás
Bootstrap.php 2c8a4c631b updating unit test in preparation for planned file name change, currently failing 9 anos atrás
ConfigurationTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
ConfigurationTestGenerator.php f628ac78f8 Fix style of operator spaces 10 anos atrás
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 anos atrás
I18nTest.php ecd8a51137 writing a unit test for #145 lead to the discovery of two errors in the polish translations: error in formula and missing number placeholders in the translation strings 10 anos atrás
JsonApiTest.php bb639d7894 changes the file extension to php and adds a small one-liner to stop PHP from presenting the file to any website visitor 9 anos atrás
ModelTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
PrivateBinTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
PrivateBinWithDbTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
README.md 0506ac018d correcting instructions based on Ubuntu 16.04 10 anos atrás
RequestTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
SjclTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 anos atrás
ViewTest.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
Vizhash16x16Test.php 1f46823942 applying patch based on StyleCI ruleset 10 anos atrás
phpunit.xml b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup 10 anos atrás

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