~/talk

Write tests. Not too many. Mostly integration.

Talkat Assert(js) 2018 · on Thursday, 2018-02-22· [testing, developer-experience]
slides:none on file

Argument claims write tests not too many mostly integration and explains why integration tests hit the best tradeoff between cost, speed and confidence. Demonstrations mention ESLint and Flow typing to eliminate trivial tests, Istanbul coverage reports and the dangers of chasing 100% code coverage, and browser end-to-end checks with Cypress. Anecdotes include a popular tweet (≈180 retweets) and a testing “trophy”; conclusions show what to build, what tools to run, and why integration tests actually work.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Talk Overview
  3. 1:02Slides
  4. 1:23Tweet
  5. 1:51Enhanced workflows
  6. 2:19Confidence
  7. 2:43Wakeboarding
  8. 2:58Why we write tests
  9. 3:23Code coverage
  10. 3:43Code coverage example
  11. 4:06Was it depends
  12. 4:17Good code coverage
  13. 5:44Testing implementation details
  14. 7:13Integration
  15. 7:34Gleb Pyramid
  16. 7:49Testing Dorito
  17. 8:48ES lint
  18. 9:30Flow lint
  19. 10:14Unit tests
  20. 10:36Integration tests
  21. 11:19Endtoend tests
  22. 13:07Test speed
  23. 13:52Simple problems
  24. 14:26Mostly integration
  25. 15:21Unit vs integration
  26. 15:42Poke fewer holes
  27. 16:19Test higher up
  28. 17:03Thank you Guillermo
~/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.