Objective: Run a 500-test suite like an engineer: in layers, by tag, on the right triggers — never all-or-nothing.
⏱ ≈65 min full lesson · English edition — Español · العربية · বাংলা in translation
Tags are metadata on tests — @smoke, @checkout, @forms — that the runner filters by (--grep @checkout). A changed checkout runs checkout + smoke, not 500 tests. Tags are a suite's table of contents: cheap at birth, painful to retrofit.
Smoke (every deploy) → domain core (changes touching it) → domain full (nightly) → cross-domain journeys (nightly/pre-release) → full regression (pre-release, weekly). The expensive layers run when time is cheap or stakes are high. A suite whose only mode is “everything” gets run rarely and trusted less.
A chronically flaky test gets @quarantine, an OWNER, and an EXPIRY — or it gets deleted. Quarantine without expiry is a landfill, and a suite that cries wolf loses the room.
The full professional name carries both worlds: the TC-ID keeps traceability to the sheet/Jira case; the tags make it selectable by area and layer. “Everything covering checkout + last month's results” = tags × IDs × history.
Take any suite and assign every test two tags on paper: one domain, one layer. Count the tests you CAN'T classify confidently. That count is your suite's organizational debt — made visible in ten minutes.
Selective running mastered. Next: journeys with state — fixtures, setup, cleanup.