~/talk

Testing Vue Apps

Talkat VueConf US 2018 · 2018-03-26..03-28· [vue, testing]
slides:none on file

A concrete testing plan emerges: mount a modal with vue-test-utils, write fast focused unit tests driven by a component contract, run a few slow browser end-to-end checks, and add Jest snapshot tests to guard styling. Claims include unit tests that run in seconds, E2E taking minutes, and test suites that cut production bugs by “20 to 80%.” Demos show a modal component, tests that call onClose, snapshots that fail on removed classes, and quick updates.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33A web app
  3. 1:44Why test?
  4. 3:10Downsides
  5. 4:06Testing Pyramid
  6. 4:45E2E Tests
  7. 6:28Unit Tests
  8. 10:32Component contract
  9. 14:55Snapshot tests
  10. 16:23Demo
  11. 20:42Learn more
~/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.