Development¶
Unit tests (no network required — uses recorded fixtures):
uv run pytest
Integration tests (hits live ESPN Cricinfo via Playwright):
uv run pytest --live
Refreshing fixtures (re-records fixtures from live site):
uv run python scripts/refresh_fixtures.py
Integration tests and the fixture refresh need the WebKit browser:
uv run playwright install webkit