I would like to use PHPUnit to create code coverage reports. I have tried a lot of installation setups found on the web. But nothing seems to work out.
I use the lat
To Reproduce, kindly follow the solution(s) below;
Steps to reproduce the behavior if you don't have Xdebug activated already:
php -iphp -v to confirm that Xdebug is activated successfully.If you already have Xdebug activated, follow these steps get test coverage running;
./vendor/bin/phpunit --coverage-html tests/coverage into the CMD terminal to generate the test coverageNB: I worked in Laravel ^6.0
Tested in Windows 10 environment but can be replicated in other environments