E · ShipAdvanced35 min read
12. Checkpoint B — Python automation-ready
Python · 52 pages source format
Final gate: tested helpers, httpx literacy, logging, and packaging — the Python bar before claiming automation readiness or starting Playwright in earnest.
What you'll learn
- Portfolio readiness
- Interview Python topics
Pass criteria
- py-journey: venv, pyproject.toml, src/ + tests/, 15+ pytest tests all green
- Fixtures + @pytest.mark.parametrize used; conftest.py for shared setup
- httpx helper with timeout, raise_for_status, and specific exception handling
- logging configured (not print) in at least one CLI script
- pip install -e . documented; health-check or equivalent entry point works
- Can explain list vs dict, fixture scope, and why venv in 2 minutes
- README links Playwright path as next step — browser automation not duplicated here
Do this now
Verify every item. Fix gaps this week.
Clear?
Mock interview
Common QA Python questions: difference list/dict, what pytest fixture does, how to avoid global pip, sync vs async httpx (awareness).
Do this now
Record 5-minute answers. Demo pytest -v and one httpx script live.
Clear?
What next
Playwright + Python path for browser tests. API-only tests combine httpx here with pytest patterns you already know.
Do this now
Write 3 ninety-day goals: Playwright POM, API test suite, CI green run.
Clear?