Add# testing documentation

This commit is contained in:
Pellaeon Lin 2018-04-27 22:11:42 +08:00
parent cbc3b75190
commit 535853113a
1 changed files with 45 additions and 0 deletions

45
TESTING.md Normal file
View File

@ -0,0 +1,45 @@
# Dependencies
FreeBSD packages:
```
php70
php70-ctype
php70-curl
php70-dom
php70-filter
php70-gd
php70-hash
php70-json
php70-mbstring
php70-mysqli
php70-openssl
php70-pcntl
php70-pdo
php70-pdo_mysql
php70-pdo_sqlite
php70-phar
php70-posix
php70-session
php70-simplexml
php70-sqlite3
php70-tokenizer
php70-xml
php70-xmlreader
php70-xmlwriter
php70-zip
php70-zlib
```
# Install phpunit 5.7 which is not in FreeBSD Package repository, using composer
```
cd registration
composer install
```
# Run tests manually
```
vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
```