No code coverage driver available error - PHPUnit

I am on PHP 8.1. My App is on CakePHP 4.4 and have PHPUnit 9.6. When I try to generate the code coverage report I get ‘no code coverage driver available’ error. But I do have the built-in phpdbg. Isn’t this enough?

I use xdebug as code coverage generator but never used phpdbg.

But this is not really a CakePHP question, more of a PHPUnit specific question

2 Likes

Thank you, for your reply.