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 24a4328c55
incrementing version, updating changelog, added missing phpdoc comments
9 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 adding option to hide clone button on expiring pastes, resolves #34 9 years ago
auto.php reviewed unit tests, fixing line endings, added more tests 9 years ago
bootstrap.php changing paste read output for API refactoring 9 years ago
configGenerator.php incrementing version, updating changelog, added missing phpdoc comments 9 years ago
configuration.php expire_options and formatter_options should not be filled up with 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 refactoring delete API, added external JSON-LD context 9 years ago
serversalt.php created initial unit tests for main zerobin class 9 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 improved database backend support for larger files (100 KiB - 16 MiB), 9 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