Allow passing additional arguments when running unit test script

This commit is contained in:
Zach Borboa
2016-11-06 00:37:36 -07:00
parent 9bfdd791cd
commit 62d869ed17
+3 -1
View File
@@ -1,8 +1,10 @@
set -x
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
pid="${!}"
extra_args="${@}"
phpunit \
--configuration phpunit.xml \
--debug \
--verbose
--verbose \
${extra_args}
kill "${pid}"