Separate setup, the single action under test, and assertions into clear phases for readable tests.
Why This Matters
Tangled setup and assertions make failures hard to diagnose and intent unclear.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.