+## Changes\n\n### pyproject.toml\n- Add `[tool.pytest.ini_options]` section with `markers` for `unit`, `integration`, `e2e`, and `property` test categories\n\n### tests/conftest.py\n- Add `_load_env_file()` helper to load `app/.env` when present (respects existing env vars)\n- Add `integration_client` fixture that provides a FastAPI `TestClient`, skipping gracefully when env vars or DB are unavailable\n\n### tests/test_smoke.py\n- Replace `requests`-based smoke test with `TestClient`-based integration test\n- Add `@pytest.mark.integration` marker\n- Split into `TestHealthz` class with `test_status_code` and `test_response_body` methods\n- No longer requires a running server (uses in-process TestClient)\n\n### Pre-existing (no changes needed)\n- `taskfiles/pytest.yml` already implements `test:integration` with server start/defer-stop/wait lifecycle\n- `taskfile.yml` already delegates `test:integration` to `pytest:test:integration`"
0 commit comments