Update phpunit test script and tests

This commit is contained in:
Clemens Schwaighofer
2023-02-24 09:46:03 +09:00
parent 6f653c24a0
commit 9a7399e821
5 changed files with 20 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
base="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/";
#!/usr/bin/env bash
base="/storage/var/www/html/developers/clemens/core_data/composer-packages/CoreLibs-Composer-All/";
# -c phpunit.xml
# --testdox
# call with "t" to give verbose testdox output
@@ -31,7 +33,7 @@ if [ ! -z "${2}" ] && [ -z "${php_bin}" ]; then
esac;
fi;
phpunit_call="${php_bin}${base}vendor/bin/phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}4dev/tests/";
phpunit_call="${php_bin}${base}vendor/bin/phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}test/phpunit/";
${phpunit_call};