paratestphp / paratest

:computer: Parallel testing for PHPUnit
MIT License
2.3k stars 226 forks source link

PHPUnit --path-coverage option #863

Closed yan-kudriavtsev closed 2 months ago

yan-kudriavtsev commented 2 months ago

Hello. Is there any chance to implement support for the --path-coverage option?

PHPUnit added it in version 9.3 https://github.com/sebastianbergmann/phpunit/issues/4260

Since calculating path code coverage is a very "expensive" process, it would be nice to have support for this option in the paratest, as it takes much longer in PHPUnit. Thank you :-)

Slamdunk commented 2 months ago

Hi, personally I am not going to invest my time in such feature because I consider normal code coverage plus mutation testing much more effective and useful, but I'll review any well crafted PR on the topic.

yan-kudriavtsev commented 2 months ago

Got it. Thank you. I will try to use normal code coverage + mutation testing