python-testing-patterns
Installation
SKILL.md
In this repository
- Test flows: This project uses scripts for flow tests:
scripts/user-journey-tests.sh,scripts/test-async-flow.sh. If you add pytest, place tests underbackend/tests/(or per-service underservices/<name>/tests/). - Database: App uses PostgreSQL (DB name fastapi_db), not SQLite. Use PostgreSQL or mocks for integration tests; see
.cursor/rules/database-postgres.md. - After editing code run
make formatandmake lintfrom repo root. Full context:.cursor/skills/README.mdand.cursor/rules/.
Python Testing Patterns
Comprehensive guide to implementing robust testing strategies in Python using pytest, fixtures, mocking, parameterization, and test-driven development practices.