~/talk

Test-Driven Design Insights - 10 Hints You Were Missing

slides:none on file

Ten concrete design hints: tests act as feedback not just safety, and mocks speed tests but hide integration bugs; prefer start Postgres in a Testcontainer or WireMock for repeatable microservice integration; use social unit tests (group collaborators) instead of solitary mocked classes; extract pure functions for heavy logic and return immutable objects to avoid temporal coupling; aim tests early (within first ~30% of work); expect 60–80% of microservice endpoints to be simple and covered by integration tests; avoid mocking trivial mappers.

AI-written summary · about

  1. 0:00Introduction
  2. 8:00The Testing Pyramid
  3. 9:52Mocks
  4. 11:56Complexity
  5. 13:37Sleep Bugs
  6. 15:06The Reality
  7. 21:41More Complexity More Feedback
  8. 23:16Testing Too Late
  9. 27:36Simple Example
  10. 30:31Object Mother
  11. 35:31Architecture
  12. 39:28Heavy Complexity
  13. 43:43Class Wide
  14. 51:03Connection
  15. 53:37Mutable objects
  16. 55:34Summary
~/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.