Shaky to solid: a test-based approach to legacy code




A pragmatic test-driven approach to the problem of inheriting legacy code, based on real-life high-stakes projects. While it would be nice to test everything from the ground up, this only happens in fairy tales. In real life, you'll have to invest your testing effort where it counts the most.

We propose a pragmatic test-driven approach to the problem of inheriting unstable legacy code, based on real-life high-stakes projects. We will cover automated and manual testing with limited resources, but also strategies to build a culture of reliability, accountability and pride within a development team.

While it would be nice to rewrite everything from a clean slate, or to have an unlimited budget to test everything from the ground up, this only happens in fairy tales. In real life, you'll have to invest your testing effort where it counts the most. And that requires craftsmanship, creativity and respect for the code (even when it stinks). Because while legacy code is practically unavoidable, it has worth and it can be managed with the right tools and attitude.

Speaker

Catherine Proulx

 
I am a researcher at the National Research Council Canada (CNRC-NRC), where I study the convergence of virtual reality with health technologies. I have spent my entire career split between the worlds ...