Files
php-curl-class/tests/run.sh
T

11 lines
196 B
Bash
Executable File

set -x
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
pid="${!}"
extra_args="${@}"
phpunit \
--configuration phpunit.xml \
--debug \
--verbose \
${extra_args}
kill "${pid}"