~/talk

The Grand Unified Theory of Clean Architecture and Test Pyramid

Talkat CPH DevFest 2024 · 2024-08-26..08-30· [testing, frontend-architecture]
slides:none on file

Claims a concrete workflow: build the application core first, write unit tests that run only against that core, then implement tiny translation adapters and verify them with container-backed integration tests (Postgres example), and keep a few smoke tests to validate wiring. Emphasizes packaging by feature (screaming architecture), shrinking exposed surface to avoid accidental contracts, and pruning higher-level tests once a lower-level test reproduces the failure. Key rules include one port at least two adapters, sociable tests, and granular integration tests.

AI-written summary · about

  1. 0:00Combining architecture and testing
  2. 2:13Unified framework for architecture and testing
  3. 4:20Legacy code to modern architectures
  4. 7:52Hexagonal and onion architectures
  5. 11:24Testing pyramid limitations
  6. 15:54Clean architecture misconceptions
  7. 19:33Refactoring without proper tests
  8. 20:34Clean architecture principles
  9. 22:24Clean architecture flaws
  10. 26:13Testing with ports and adapters
  11. 28:45Screaming architecture
  12. 29:53Tests as host for code
  13. 31:21Unit tests in application core
  14. 33:25Unit testing pitfalls
  15. 36:37Minimizing exposed contracts
  16. 40:14Integration tests and duplication
  17. 43:01Granular integration for adapters
  18. 44:27Wiring and smoke tests
  19. 45:31Maintaining testing pyramid
  20. 47:19Step-by-step feature framework
  21. 50:09Silverlight lessons
  22. 52:17Summary
~/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.