mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
907538875b
cleaned up CSS, changed template to output clean XHTML 5, added unit tests for 60% of the code, found a few bugs by doing that and fixed them
17 lines
380 B
Markdown
17 lines
380 B
Markdown
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
|