You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
privatebin/tst
El RIDO e89a8b6898
fixing deprecations with newer phpunit versions
8 years ago
..
zerobin working on JSON-LD validity, added CORS headers preparing external API 9 years ago
.gitignore added incorrectly ignored unit test file, correcting ignore 9 years ago
README.md
RainTPL.php fixing deprecations with newer phpunit versions 8 years ago
auto.php
bootstrap.php fixing deprecations with newer phpunit versions 8 years ago
configGenerator.php fixing deprecations with newer phpunit versions 8 years ago
configuration.php re-introducing (optional) URL shortener support, resolves #58 9 years ago
filter.php mostly finished with data model refactoring 9 years ago
i18n.php
jsonApi.php adding unit tests for all JSON-LD cases 9 years ago
model.php improving unit tests, fixing regression in DB model 9 years ago
phpunit.xml
request.php implementing media type negotiation (based on language negotiation 8 years ago
serversalt.php only mock mcrypt if it isn't installed 8 years ago
sjcl.php refactoring how attachments are stored 9 years ago
test.ini
trafficlimiter.php preparing unit test for model refactoring, refactoring traffic limiter 9 years ago
vizhash16x16.php
zerobin.php fixing deprecations with newer phpunit versions 8 years ago
zerobinWithDb.php adding UI tests for database configuration, fixed an issue with comment 9 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-mysql php5-xdebug

To run the tests, just change into this directory and run phpunit: $ cd ZeroBin/tst $ phpunit