Pier-Jean Malandrino
|
7a76d2efbd
|
feat: add hexagonal architecture tests with pytestarch (#177)
- Create tests/test_architecture.py with 20 automated rules:
inter-layer dependency checks (domain, services, api, infra, persistence),
external dependency constraints (fastapi, sqlalchemy, httpx, opensearchpy),
and port convention enforcement (Protocol only in domain.ports)
- Add requirements-test.txt with pytestarch dependency
- Fix persistence.database importing infra.settings (read DB_PATH from env directly)
|
2026-04-16 08:32:07 +00:00 |
|