paqad-ai
Version:
Spec-driven development framework — AI agents that think before they type
17 lines (11 loc) • 535 B
Markdown
# Django Testing Guide
Use the narrowest command that proves the changed behavior, then expand to the full gate before merge.
## Common Commands
- focused test: `pytest -k "<pattern>"`
- full suite: `pytest`
- lint: `ruff check .`
- typecheck: `mypy .` (if configured)
- if Docker Compose is active, prefix with `docker compose exec <python-service>`
## Coverage Expectations
- cover happy path plus validation error and permission-denied states that changed
- include model and view tests for any new endpoints or data mutations