17 lines
512 B
Markdown
17 lines
512 B
Markdown
# 13: FastAPI: Add Pytest Tests
|
|
|
|
**What to build:** Set up Pytest tests for the API.
|
|
|
|
- Set up Pytest with test database (`hapi_test`)
|
|
- Add tests for API endpoints (auth, health, uploads)
|
|
- Add tests for auth module (token generation, validation)
|
|
- Configure CI to run tests (pytest + coverage)
|
|
|
|
**Blocked by:** 5, 8.
|
|
|
|
**Status:** ready-for-agent
|
|
|
|
- [ ] Pytest is configured with test database
|
|
- [ ] Tests cover API endpoints (auth, health, uploads)
|
|
- [ ] Tests cover auth module (token generation, validation)
|