~/talk

Testable Architecture: Keep 'em Separated

Talkat JCON EUROPE 2026 · 2026-04-20..04-23· [software-architecture, testing]
links:none on file
slides:none on file

Argues two concrete rules: keep I/O separate and domain must not depend on I/O, implemented as hexagonal + DDD in Java with ArchUnit checks, JUnit Pioneer for small console fakes, Testcontainers and Postgres for slower integration tests, and swappable adapters (SendGrid replaced without code changes). Shows a real mob-programming session manager, measures IO-free tests under a few seconds, and recommends renaming tests to I/O-free vs I/O-based for clarity and speed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Layers vs tiers
  3. 2:20Two rules for testable architecture
  4. 4:54Testable architecture patterns
  5. 8:25Hexagonal architecture explained
  6. 13:40Ports and adapters
  7. 15:47Code examples and benefits
  8. 17:53Fast tests and IO-free tests
~/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.