Hello, I'm using asdf to maintain, php version with all project so I can saperate each project with their own php version and setup.
In order to setup xdebug and testing setup here is the commands that I'm putting for my referance.
In case you didn't have installed xDebug in your system then you possibly getting the following error
if you are getting this error that means you need to install xDebug
Install xDebug
pecl install xdebug
Once you installed xdebug correctly, then you will get new error
When you see this error, it indicate that you have to set configuration with xdebug mode to coverage
Configure xDebug as we want
open respective `php.ini` file. and write the following
[Xdebug] zend_extention=xdebug xdebug.mode=coverage
Now you are good to go and run your testcases, with coverage flag.
No comments:
Post a Comment