diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-01-07 12:25:52 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-01-07 12:25:52 +0100 |
commit | 844412c437d522e61d2b9bf3088ec1b566ecff7b (patch) | |
tree | 9fea003eebabe594670dc8b67d3e6e49bb4000b4 | |
parent | 1f492fa7229f8fba6ae1024940cc00f20fdc6c5d (diff) | |
download | hubzilla-ddev-844412c437d522e61d2b9bf3088ec1b566ecff7b.tar.gz hubzilla-ddev-844412c437d522e61d2b9bf3088ec1b566ecff7b.tar.bz2 hubzilla-ddev-844412c437d522e61d2b9bf3088ec1b566ecff7b.zip |
Use default phpunit config and generate html coverage report.
-rwxr-xr-x | .ddev/commands/web/phpunit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.ddev/commands/web/phpunit b/.ddev/commands/web/phpunit index 90451f4..1a75bc7 100755 --- a/.ddev/commands/web/phpunit +++ b/.ddev/commands/web/phpunit @@ -2,6 +2,6 @@ ## Description: Run phpunit in the ddev environment ## Usage: phpunit -## Example: ddev phpunit tests +## Example: ddev phpunit -vendor/bin/phpunit "$@" +XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/phpunit.xml --coverage-html=tests/results/coverage "$@" |