Testing
Test plan for the Audit Manager — unit tests (pydantic schema), end-to-end smoke test against docker compose, concurrent load test, and the Postman collection.
1. Unit tests — schema validation (no infra needed)
python -m venv .venv && . .venv/bin/activate
pip install -e ".[test]"
pytest tests/unit/ -v # 30 tests2. Smoke test — end-to-end against docker compose
docker composedocker compose up --build -d
tests/smoke.sh3. Load test — concurrent POSTs, no-drop verification
N=1000 C=20 tests/load.shPostman collection
Sample events
Last updated
Was this helpful?