Diagnosing JUnit 5 Failures from @TestInstance(PER_CLASS) Shared State
Shared mutable state in JUnit 5 @TestInstance(PER_CLASS) classes can cause flaky, order‑dependent failures. This guide offers a concise diagnostic table, step‑by‑step checks, targeted fixes, and escalation criteria to isolate and resolve the issue.