I have an #infectionPHP question: The `_Throws`-Mutation effectively removes my exit condition to avoid an endless recursion loop and thus runs into a Timeout.

The Timeout though apparently is considered bad, given it's not considered a "killed" mutation.

So, how do I make infection happy? I don't know how to avoid an endless recursion when infection would mutate my exit condition away ;)

@theseer can't you enforce the timeout at the test level, setting a size? That should count as a failed test. IIRC I had to do it like that somewhere for the same situation.
@alessandrolai That sounds like a good idea. I'll check that.
@alessandrolai Awesome! That of course worked. Such a simple yet perfect solution! Why didn't I come up with that?
@theseer happy to have been of help 😁 it's just that I stumbled on the same issue before 😬
@theseer According to https://infection.github.io/guide/#Mutation-Score-Indicator-MSI, a timeout is considered to be equivalent to a kill.
Introduction — Infection PHP

Infection - PHP Mutation Testing Framework.

@timwolla Hm. For the html report it doesn't look like that, as it's a yellow marked mutation. I thus didn't expect it to consider it a successful kill. RTFM I guess;)

Thanks for the pointer :)