~/talk

Writing (Really) Good Tests

Talkat Vuejs Amsterdam 2023 · 2023-02-09..02-10· [testing, frontend-architecture]
slides:none on file

Practical rules and demos decide whether to watch: claim that write tests first and decouple from test framework change workflow, with Cypress, Playwright and Vitest drivers shown; a shopping‑list app is built by test‑first, a remove feature implemented and it works in the browser. Tests decouple from implementation and UI via semantic selectors and a domain DSL; running 1000 tests in seconds (vs ~30 minutes in Cypress) proves the speed case.

AI-written summary · about

  1. 0:00Introduction
  2. 2:32Why write good tests
  3. 3:59How to write good tests
  4. 4:27Decoupling
  5. 10:46Implementation Details
  6. 16:50User Interface
  7. 21:48Decouple
  8. 22:19Semantics
  9. 23:03Why write tests
  10. 23:41Demo
  11. 25:04Component Test
  12. 27:05Testing
  13. 28:20Adding and removing items
~/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.