El RIDO 978ab1a59f adapting configuration test generator to new INI model and point release support пре 8 година
..
Data f94f61a8c6 PHP < 5.6 compatibility and StyleCI recommendations пре 8 година
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 6b87a6e0e1 implemented JSON file conversion on purge and storage in PHP files for data leak protection пре 8 година
ConfigurationTest.php 6b87a6e0e1 implemented JSON file conversion on purge and storage in PHP files for data leak protection пре 8 година
ConfigurationTestGenerator.php 978ab1a59f adapting configuration test generator to new INI model and point release support пре 8 година
FilterTest.php b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup пре 10 година
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 пре 9 година
JsonApiTest.php 6b87a6e0e1 implemented JSON file conversion on purge and storage in PHP files for data leak protection пре 8 година
ModelTest.php 6b87a6e0e1 implemented JSON file conversion on purge and storage in PHP files for data leak protection пре 8 година
PrivateBinTest.php f94f61a8c6 PHP < 5.6 compatibility and StyleCI recommendations пре 8 година
PrivateBinWithDbTest.php f94f61a8c6 PHP < 5.6 compatibility and StyleCI recommendations пре 8 година
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 1f46823942 applying patch based on StyleCI ruleset пре 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