~/talk

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

Talkat NDC London 2023 · 2023-01-23..01-27· [testing, microservices]
slides:none on file

Argues that tests should exercise service boundaries not mocked internals, showing a working, production‑like .NET system built over two years that uses outside-in testing with WebApplicationFactory, SQLite for realistic DB checks, and open telemetry traces captured and sent to Honeycomb. Claims ~2,500 developer tests run in eight seconds, yields actionable traces to assert cache vs DB calls, avoids heavy mocking, drives contract-first TDD and enables near‑100% meaningful coverage.

AI-written summary · about

  1. 0:00Intro
  2. 2:51Building for Production
  3. 6:28What do we mean by TDD
  4. 8:19Test-Driven Development (The good)
  5. 10:49Let's Talk Component testing UNIT TESTS PASSING
  6. 13:49Outside-in Testing (Benefits)
  7. 19:17Lets look at some code
  8. 21:13Readable Tests (Remove Implementation)
  9. 22:33Readable Tests (Add Context)
  10. 23:08Readable Tests (Add Test Specific Asserts)
  11. 24:48Readable Tests (Persistence with API checks)
  12. 26:39What have we tested?
  13. 31:15What can't we test this way?
  14. 37:19Let's Look at some caching code
  15. 39:00Lets Add OpenTelemetry to the Tests
  16. 44:19Refactor for readability
  17. 45:04Parallel Processing
  18. 49:02Useful reading/watching
~/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.