Files
hapi/.scratch/mvp-issues/09a-pytest-test-framework-setup.md
T
2026-11-17 14:39:40 -05:00

14 lines
558 B
Markdown

# 09a: Pytest Test Framework Setup
**What to build:** Pytest configured with test database (`hapi_test`), fixtures for `TestClient`.
**Blocked by:** 02b (Users & Auth Tokens Schema), 03a (Layered FastAPI App Structure)
**Status:** ready-for-agent
- [ ] Pytest installed and configured (`pytest.ini` or `pyproject.toml`)
- [ ] Test database (`hapi_test`) created and cleaned between runs
- [ ] Pytest fixtures: `TestClient`, `async_test_client`, `db_session`
- [ ] First test suite created (e.g., `tests/test_health.py`)
- [ ] Tests run locally and in CI