Popis: |
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 decouple our code base. We’ve already put this to action extensively in previous chapters. |