Testing Guide
The test suite is pytest-first and covers both core behavior and UI-facing handlers.
Recommended Order
- Run targeted tests for the touched area.
- Run the full suite with
pytest tests/. - Run Ruff checks.
- Review docs or config drift when behavior changes affect public workflows.
Key Test Areas
- provider and resolver behavior;
- search adapter normalization;
- download runtime staging and resume;
- export services and handlers;
- settings and studio workflows;
- vault and local state handling.
Practical Commands
.venv/bin/pytest tests/
.venv/bin/pytest tests/test_http_client.py -q
.venv/bin/pytest tests/test_studio_handlers.py -q