O'Reilly logo

Rails 4 Test Prescriptions by Noel Rappin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with Legacy Code

When you’re presented with a new codebase for the first time, your first job is to figure out exactly what the heck is going on. Toward that end, there are three things you should do immediately.

Get It in Source Control

These days it probably is already under source control, but you can’t be too careful. Make sure you have all the access to the repository that you need. While starting on a new legacy codebase is not the time to get fancy with new tools, you will be much better served by using Git or some other source-control system that lets you easily create and manipulate branches. This will enable you to easily explore changes to the codebase using branches as scratch pads that can be kept or discarded as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required