If you recall in Chapter 1, we talked about the various situations where we can use TDD. TDD can basically be applied at any stage in a project’s lifetime. The most obvious option is start using TDD from the very beginning. This is what we always recommend. However, what if you only just recently heard about TDD and you already have a project you’re working on? Well, TDD is still for you. TDD can help guide the refactor of old legacy code, and also we can use TDD to properly modularize and ...
11. Adding Features to a Legacy App
Get Modularizing Legacy Projects Using TDD: Test-Driven Development with XCTest for iOS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.