© Khaled El-Morabea and Hassaan El-Garem 2021
K. El-Morabea, H. El-GaremModularizing Legacy Projects Using TDDhttps://doi.org/10.1007/978-1-4842-7428-6_11

11. Adding Features to a Legacy App

Khaled El-Morabea1   and Hassaan El-Garem2
(1)
Giza, Egypt
(2)
Cairo, Egypt
 

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 ...

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.