~/talk

Writing Good Tests for Vue Applications

Talkat Vue.js Live 2023 · 2023-05-12..05-15· [testing, developer-experience]
slides:none on file

Claims a practical TDD workflow: write specifications first and decouple all the things. Shows a shopping‑list app with component tests and Playwright end‑to‑end tests, explains wrapping framework APIs so Cypress/Playwright/ReTEST swap requires changing one driver file, replaces brittle CSS selectors with Testing Library semantic selectors, and builds a small remove‑item feature via component test then E2E verification. Live coding demonstrates the tests drive UI changes and the final E2E test passes.

AI-written summary · about

  1. 0:00Intro
  2. 2:06How to Write Good Tests?
  3. 2:25Write Tests First!
  4. 2:45Decoupling From the Test Framework
  5. 7:15Decoupling From Implementation Details
  6. 12:18Decoupling From the User Interface
  7. 17:16Let's Get Visual
  8. 17:57Write Specifications First!
  9. 24:15Enjoy your work!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.