Getting started with legacy code testing

We won’t always get to start from scratch.

There’s a strong possibility that we’ll need to bring our testing skills to bear on a codebase that already exists. A codebase that (gasp) may not have a complete or accurate test suite to guide us.

Not all that long ago, there were no Rails legacy projects. Now some Rails codebases are old enough to attend middle school and beyond. These codebases tend to be large, and almost by definition, they aren’t using the latest tools. All the advice in this course so far is well and good, but what if we’re not starting our TDD experience with a new application? How does testing change when we’re dealing with a legacy codebase?

Get hands-on with 1200+ tech skills courses.