~/talk

Mastering Testing in a Hexagonal Architecture

Talkat BlaBlaConf 2025 · 2025-02-03..02-07· [testing]
slides:none on file

Argues a concrete mapping: unit tests for domain (many small, fast tests that avoid mocking core logic), contract tests for ports (verify adapter implementations against domain contracts), adapter tests target real infra only where behavior matters, and short backend journey tests exercise end-to-end flows without the frontend. Recommends factories and minimalistic test doubles to cut setup time, warns that 100% line coverage can be meaningless, and champions mutation testing to reveal weak or missing assertions.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:11Hexagonal architecture overview
  3. 4:29Ports and adapters explained
  4. 6:45Challenges of testing in hexagonal
  5. 8:15Testing business logic in domain
  6. 11:30Mocking and test doubles
  7. 14:44Writing unit tests for ports
  8. 16:13Practical testing example
  9. 19:14Integration vs unit tests
  10. 21:08Coverage and test quality
  11. 23:24Effective test assertions
  12. 24:51Testing domain constraints
  13. 26:21Importance of testing culture
  14. 27:50Test time efficiency
  15. 28:41Testing adapters and ports
  16. 30:08Q&A and closing
~/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.