A regression check counted bad writes and passed at zero, but never showed the good write happened at all. If the code under test stops writing that file or moves it, the check stays green and guards nothing.
Pair every "count is zero" check with a positive control. Zero bad events also means zero events.
Assert the path you expect, not only the one you fear.
Assert the path you expect, not only the one you fear.