phpunit coverage-unit doesn't generate reports

1k Views Asked by At

enter image description here

Hi everybody, i have some problem with phpunit coverage html component. I installed correctly components and launch command:

vendor/bin/phpunit --coverage-html tests

Tests works correctly, but no html reports generated. Attached the terminal result. The classic "Generating code coverage report in HTML format ... done" doesn't appear.

Can you help me? Thanks

1

There are 1 best solutions below

0
Sebastian Bergmann On

The error message reads "No code coverage driver is available". Your PHP environment is missing Xdebug or PCOV.