~/talk

A unit test walks into a bar

Talkat Decompress AU 2018 · on Friday, 2018-03-23· [testing, javascript]
links:none on file
slides:none on file

Claims that unit tests cut manual testing, lower cost of change, and act as living docs; demonstrates JavaScript examples using Jasmine and DOM helpers like enzyme or vue-test-utils; shows concrete techniques: dependency injection with a fake fetch that returns a resolved promise, and stub/mock/spy patterns to force paths and assert calls; surprises include playful counts like 2.5 billion beers used to illustrate edge, happy and sad paths; recommends gating merges on green tests and fixing flaky tests.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Benefits of automated testing
  3. 2:58Types of automated testing
  4. 10:15What not to test
  5. 14:50Closing tips
~/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.