marufalom's avatar

Reset / Turn off phpunit test coverage in PhpStrom

I have a noob question, How can I disable the line highlighting after running a test with coverage?

PhpStrom Code Coverage

0 likes
9 replies
Martenvanurk's avatar

You can disable the logging part in your phpunit.xml or run the command with --no-coverage or mark the test with the annotation: @coversNothing

Martenvanurk's avatar

And how are you running your tests? on the commandline or from the PHPStorm IDE?

marufalom's avatar

@martenvanurk I don't know What I did but somehow its gone!

Maybe I just selected "No Coverage" from run -> code coverage data or maybe put no-coverage option in phpunit.

Thanks for your help ^_^

Martenvanurk's avatar

You can indeed choose different running configurations! Glad it's fixed! Have a nice day!

Please or to participate in this conversation.