~/talk

Let’s dive into the topic of testability

Talkat GeeCON Prague 2023 · 2023-10-19..10-20· [testing]
links:none on file
slides:none on file

Defines testability as accessibility, observability, predictability, reproducibility and shows concrete mitigations: wrap time and randomness behind interfaces so tests can inject randomness or deterministic clocks; use stubs for expensive collaborators and verify state with check before and check after database assertions; prefer hexagonal ports and adapters to swap real services for test doubles; advises package-private helpers over testing private methods and recommends outside-in TDD for complex integration.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58Speaker background
  3. 2:02What is testability
  4. 3:29Hard vs easy to test
  5. 4:34Broken glass syndrome
  6. 5:39Accessibility in testing
  7. 7:27Testing private functions
  8. 8:30Observability in tests
  9. 9:57Predictability challenges
  10. 11:00Fundamental theorem of software
  11. 12:22Mitigating randomness
  12. 14:50War story from 2001
  13. 17:01External dependencies
  14. 17:42Reproducibility in tests
  15. 18:25Testable architecture
  16. 19:07Hexagonal architecture
  17. 20:10Test-driven development
  18. 20:51Conclusion and mindset
~/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.