~/talk

Some Truths About Some Lies About Testing

Talkat RubyHACK 2018 · 2018-05-03..05-04· [testing, developer-experience]
slides:none on file

Claims that get tested here: specific rules of thumb from Sandi Metz about what to assert, experiments with TDD leads code follows versus TAD (test after development), concrete tooling (Guard, CI, RSpec, Minitest), coding exercises used to practice (Exercism, Project Euler, Code Retreat). Results: TDD forces simpler design and pays off over time, TAD wins for urgent or legacy work, and dozens of times a one‑line change that used to take days now lands in minutes.

AI-written summary · about

  1. 0:00Intro
  2. 1:28SCIENCE!
  3. 2:36Rules of Thumb
  4. 3:16What To Test: Messages
  5. 5:04If You Take Just One Thing...
  6. 6:21Four Quadrants
  7. 10:53TDD is great but I gotta ship this
  8. 12:42But Testing is Haaaaaaard
  9. 15:06Testing Reduces Costs
  10. 16:13100% CO/C1 Test Coverage
  11. 18:54Keep Your Tests Simple
  12. 20:20Test First == Test First
  13. 21:45Breaking Things Down
  14. 25:12TDD Cycle
  15. 27:11Is TDD Always Best?
  16. 29:36Do Not Use TDD When
  17. 31:41You Can't Test Exploratory Code
  18. 32:47Refactoring
  19. 36:40WET Tells The Story
  20. 38:15But Isn't Duplication Bad?
  21. 43:15How to Un-Know A Thing!
  22. 44:22How To TDD Big Legacy Code
  23. 44:53Can TDD Fix a Bad Test Suite?
~/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.