Convert some TesterPlugin tests into PHPUnit tests, add PHPUnit configuration

This commit is contained in:
Dylan K. Taylor
2018-06-05 19:33:21 +01:00
parent 41a179e6e1
commit 9d16863b1a
8 changed files with 300 additions and 1 deletions

View File

@ -21,6 +21,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
#Run PHPUnit tests
curl https://phar.phpunit.de/phpunit-7.phar --silent --location -o phpunit.phar
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php tests/phpunit
#Run-the-server tests
DATA_DIR="test_data"
PLUGINS_DIR="$DATA_DIR/plugins"