---
# promptscript-generated: 2026-05-30T23:22:42.939Z | source: .promptscript/project.prs | target: github
description: 'Write unit tests following best practices'
---

Write unit tests following:

- AAA pattern (Arrange, Act, Assert)
- Proper test isolation with mocks
- Descriptive test names
- Edge cases and error conditions
- No testing of implementation details
