Reset databases, mocks, globals, and temp files in teardown so each test starts fresh.
Why This Matters
Leaked state from one test corrupts the next, producing order-dependent flakiness.
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.