- Add tests for new behavior and bug fixes
- Update tests when requirements or flows change
- Keep tests deterministic and independent
- Prefer clear setup and assertions over complex test logic
- Prioritize critical business flows and failure paths
- Cover edge cases where regressions are likely
- Run relevant tests before opening or merging changes
- Include verification notes in PR descriptions when useful