~/talk

Using Tests as a Tool to Wrangle Legacy Projects

Talkat Ruby Hack 2019 · 2019-04-04..04-05· [ruby-on-rails, testing]
slides:none on file

Claims that adding tests makes legacy Rails apps less buggy, faster to change and deployments a non-event, shows a failed case where two uncoordinated Ember test suites died, and demonstrates concrete techniques: start with the easiest tests to force team decisions, extract code with the sprout method or sprout class to isolate dependencies, and learn behavior with characterization testing (reverse TDD). Mentions Rails + Ember, CI integration pitfalls, and that temporary ugliness is acceptable if tests enable safe refactoring.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20Legacy project traits
  3. 7:41Challenges and benefits
  4. 10:50Obstacles to testing
  5. 16:55Testing techniques
  6. 25:50Recap and Q&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.