~/talk

Testable Architecture: Keep 'em Separated

Talkat Commit Your Code 2025 Β· 2025-09-25..09-26Β· [frontend-architecture, testing]
links:none on file
slides:none on file

Separating IO from domain logic yields fast, deterministic tests that run in under a second when purely in-process, and move slow fragile tests (terminal I/O, databases, HTTP) into small adapters. Examples use Java, Spring, H2, Kafka, SendGrid and Zoom, refactor a command‑line menu into a compute receipt core, and show a working mob programming app with hexagonal architecture and ports and adapters; mocking is minimized and adapters are tested separately.

AI-written summary Β· about

  1. 0:00Introduction
  2. 1:33Fast test feedback matters
  3. 3:18Layers versus tiers
  4. 4:02Separating business logic from IO
  5. 6:52Clean architecture principles
  6. 9:43Refactoring for testability
  7. 13:18Hexagonal architecture
  8. 17:31Domain-driven design
  9. 20:27Testing adapters and domain
  10. 22:13Ports and adapters example
  11. 24:42Trade-offs in testable architecture
~/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.