1
票
CakePHP4 で コードカバレッジが生成できない
xdebug の代わりに phpdbg を使用する下記のコマンドで、コードカバレッジが生成できました。
phpdbg -qrr vendor/phpunit/phpunit/phpunit --coverage-html webroot/coverage tests/TestCase/Controller/○○Test.php
Only top scored, non community-wiki answers of a minimum length are eligible