~/talk

TDD on Legacy Code

TalkinItalianat Voxxed Days Milano 2019 · on Saturday, 2019-04-13· [testing, legacy-modernisation]
links:none on file
slides:none on file

Shows how to make untestable legacy Java code testable using the TripServiceKata exercise by Sandro Mancuso. Demonstrates applying seam techniques to introduce test seams, then refactoring the design to obtain clean, testable code; covers practical principles and techniques for bringing legacy code under test.

AI-written summary · about

  1. 0:00TDD on legacy code
  2. 3:17Trips Service Kata rules
  3. 6:53Analyzing legacy code
  4. 8:19First unit test
  5. 13:04Behavior with tests
  6. 16:18Isolate deps with test subclasses
  7. 20:01Cover first code branch
  8. 21:54Wishful thinking tests
  9. 25:11From failing to green test
  10. 28:08Test unknown users
  11. 31:40Stub external deps
  12. 33:24Refactor for readability
  13. 36:55Next steps for coverage
  14. 38:26Code responsibility
  15. 44:02Repository interfaces
  16. 49:51Complex collaborators tests
  17. 51:24Q&A
~/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.