Files
2026-05-12 19:40:31 +09:00

17 lines
401 B
Plaintext

---
description: "Testing guidelines"
globs:
- "test/**/*.py"
alwaysApply: false
---
# Testing Guidelines
- Use `pytest` with descriptive test function names.
- Prefer fixtures over global state.
- For async code, use `pytest-asyncio`.
- Ensure test coverage for:
- Pydantic model validation
- Env config via `BaseSettings`
- Error cases and edge cases
- Run tests with `uv run pytest test`.