I'm running test on PHPUnit
using Xdebug
for generating coverage and it is very slow.
I tried using PHPdbg
but that leads to memory errors.
I was told that I can create a filter file, and that should help. Can anyone explain to me how that would work.
The documentation for PHPUnit has information on speeding up code coverage with Xdebug . For more background information I recommend this article .
That being said, I recommend having a look at PCOV for even faster code coverage data collection for PHP and PHPUnit.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.