From 844412c437d522e61d2b9bf3088ec1b566ecff7b Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 7 Jan 2024 12:25:52 +0100 Subject: Use default phpunit config and generate html coverage report. --- .ddev/commands/web/phpunit | 4 ++-- 1 file 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 "$@" -- cgit v1.2.3