~/talk

Design for Test

Talkat NDC TechTown 2018 · 2018-09-27..09-30· [developer-experience]
links:none on file
slides:none on file

Argues that testability comes from design: isolate business logic from environmental I/O, invert dependencies, and construct object graphs separately so core algorithms stay stable while adapters change. Shows applied patterns — facade, plugin/callbacks, outbound interfaces, event-driven timeouts — and concrete practices: mock environmental services, inject clocks, and prefer constructor injection over new/singleton/service-locator. Gives case studies including a C++ network server with 450 unit tests, 94% line coverage, and full-suite runs in 250 milliseconds, plus PayPal stubs, Apache MQ/Google Mock GUI tests, and numeric-algorithm unitization.

AI-written summary · about

  1. 0:00Designing for testability
  2. 4:44Analyzing real-world cases
  3. 9:24Internal vs external quality
  4. 13:18Dependency management patterns
  5. 16:58Mocking and object graphs
  6. 20:26Wiring objects effectively
  7. 24:48Environment and time control
  8. 28:14Combining design patterns
  9. 30:06Practical case study examples
  10. 36:14Benefits and trade-offs
  11. 41:53Summary and Q&A
~/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.