Ga naar hoofdinhoud

Een bericht getagd met "e2e"

Laat alle tags zien

OpenSpec tutorial series — Part 4: From scenario to Playwright test

· 15 minuten leestijd
Conduction
Open-source workspace stack

In Part 1 you learned that a scenario describes behaviour in GIVEN / WHEN / THEN form. In Part 2 you wrote one. This part closes the loop. A scenario is a test you have not run yet, and OpenSpec gives you a mechanical way to prove that every scenario in a spec is exercised by a real browser test. The @e2e annotation and the gate that enforces it are what turn "write a spec" into a safe sandbox for AI. They are also the single biggest thing that separates spec coding from vibe coding.