~/talk

Building Operable Software with TDD (but not the way you think)

Talkat NDC Oslo 2022 · 2022-09-26..09-30· [testing, microservices]
slides:none on file

Shows how to build operable services by writing tests at the API edge: a small to‑do app is driven from tests that POST and GET through HTTP using WebApplicationFactory, no mocks, and an in‑memory SQLite backing so routing, serialization, DI and DB constraints are exercised. Tests assert behavior (valid ID returned, persisted item) and use OpenTelemetry spans to verify internal code paths like caching. Test runs become traces sent to Honeycomb so performance, cache hits and surprising code paths are visible.

AI-written summary · about

  1. 0:00Operable software with TDD
  2. 1:07Motivations for operable software
  3. 2:50Defining operable software
  4. 5:37Misconceptions in traditional TDD
  5. 9:31Why TDD fails in practice
  6. 11:19Outside-in testing intro
  7. 13:04Component testing principles
  8. 15:55Outside-in testing benefits
  9. 17:45Readable maintainable tests
  10. 22:57To-do app code walkthrough
  11. 31:40API dependencies and routing
  12. 33:03Business requirements testing
  13. 36:15Outside-in testing limits
  14. 37:40Observability in development
  15. 39:04Observability-driven development
  16. 41:34Testing caching with observability
  17. 45:30OpenTelemetry in tests
  18. 48:18Production with observability
  19. 50:06Summary
~/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.