Lesson 6.1 · 3:25
More than the happy path
Goal: Test the cases that break apps, not just the one that works.
Try it
- In your practice-app folder, create
TEST-MATRIX.mdand copy in the table above. - Add one more row of your own: an edge case you think could break it.
- Run every row yourself in the browser. Fill in Observed and Result.
- Make a save point when you're done.
You're done when all five rows have an Observed note and a Pass, Fail or Unverified. If one fails, that's a win. You found it before a user did.
Recap
- The happy path is the hopeful case. Most bugs hide off it.
- Edge cases are blank, odd, refresh and empty situations. Pick a handful.
- A test matrix writes expected results down first. Skipped means Unverified.
Next lesson (6.2): give the agent eyes, so it can run this matrix in a real browser.