~/talk

When testing makes no sense

Talkat Dutch PHP Conference 2018 · 2018-06-07..06-09· [testing]
slides:none on file

Argues that automated tests are worthwhile only when the cost to fix a bug exceeds the cost to test, gives concrete contrasts: a tiny web app can be fixed in ~15 minutes so tests add more overhead, while IoT firmware or washing machines and a bank transfer require tests; cites a Croatian digital schoolbook that collapses under end-of-year load and a CI that takes ~8 hours across six servers; admits building a small CMS/ad in 2–3 days with zero tests and deleting slow, redundant suites before production. testing as insurance, TDD for design not proof

AI-written summary · about

  1. 0:00Intro
  2. 5:02Stockholm syndrome
  3. 6:05Premature optimization is the root of all evil
  4. 10:35When should we write tests?
  5. 10:52High cost to fix?
  6. 11:05Cost of fixing cost of testing
  7. 12:50When it brings "value"
  8. 15:33Value = benefit - cost
  9. 18:22It makes my project more expensive
  10. 19:07Do you charge for manual testing?
  11. 19:37Bugs cost too
  12. 20:46Ask for forgiveness, not permission
  13. 21:08It takes a lot of time
  14. 21:54learning != using
  15. 22:28It takes extra time
  16. 23:16Manual testing takes time as well
  17. 23:59ship PoC to production
  18. 24:09Feature lifecycle
  19. 25:41Modelling/architecture
  20. 25:53Development
  21. 27:47Fallacy #5: 100% code coverage
  22. 28:49writing tests later is OK
  23. 29:55we have "tests"
  24. 31:13TDD has something to do with testing
  25. 32:39TDD all the way
  26. 33:09Easier onboarding
  27. 34:10Easier to add new features
  28. 34:46Easier refactoring
  29. 37:30Easier rewriting
  30. 38:04Cleaner code
  31. 38:18It's hard to test shitty code
  32. 38:51Small app
  33. 39:42One off app
  34. 40:23Exploration phase
  35. 40:43Job security
  36. 43:07Thank you!
~/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.