Manuals / Python / Checkpoint 12

E · Ship · advanced · Gate · Week 8–10 · Checkpoint 12 of 13

Checkpoint B — Python automation-ready

Final gate: tested helpers, httpx literacy, logging, and packaging — the Python bar before claiming automation readiness or starting Playwright in earnest.

Path progress
87%

Step 1 of 3

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
Pass criteriaDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Pass criteriadrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Verify every item. Fix gaps this week.

Was this step clear?
Chapter learning outcomes
  • Portfolio readiness
  • Interview Python topics

Clear these before you leave

Side quest

Green demo

Screen record: pytest -v, run CLI tool, show pyproject.toml. Portfolio-ready.