Overview
Explore strategies for effectively testing legacy code in this 34-minute RailsConf 2022 talk. Discover why legacy code is challenging to maintain and learn how to implement a robust testing strategy to transform it into resilient, easily evolvable code. Gain insights into distinguishing between high-value and low-value tests, and master techniques for crafting tests that minimize the cost of change. Suitable for developers of all experience levels, with a focus on Rails and automated testing frameworks. Delve into topics such as the cost of new code, testing legacy tests, writing high-value tests, and reducing test coupling to improve your approach to legacy code maintenance.
Syllabus
Intro
What is legacy code
Cost of new code
Testing legacy code
Testing legacy tests
Writing highvalue tests
Reducing test coupling
Conclusion
Taught by
Ruby Central