Post #4355834
2026-08-03 13:46 UTC
I missed the fact that "AI" autocomplete used instantiation method again in first assertion and removed all preconditions. Then #phpunit saw a bunch of empty iterators, decided to mark test as risky and skip the rest of it, but also marked it passing due to that first assertion.
Don't remember last time I stumbled on bviously wrong code with passing test coverage.
Replies (0)
No replies.