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 removed leftovers from submodule uglifyjs, added credits file, 12 years ago
RainTPL.php fixing deprecations with newer phpunit versions 8 years ago
auto.php reviewed unit tests, fixing line endings, added more tests 9 years ago
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 incrementing version number, updating docs 9 years ago
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 working on configuration unit test generator as described in #16 9 years ago
request.php implementing media type negotiation (based on language negotiation 9 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 slight configuration changes, template modifications to make discussions 9 years ago
trafficlimiter.php preparing unit test for model refactoring, refactoring traffic limiter 9 years ago
vizhash16x16.php fixing nasty deletion bug from #15, included unit tests to trigger it 9 years ago
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