As the title of this appendix tells us, we will be talking about Test-Driven Development (TDD), a term we haven't used anywhere in this book so far. I deliberately chose not to. Why? Because I wanted us to focus on the following topics that I wanted to discuss in this book:
- Why we should use automated tests
- When to use automated tests
- How to write automated tests
I didn't want anyone getting blocked by their knowledge of TDD, with it being a proven methodology, but also surrounded with skepticism. It makes sense, however, to pay some attention to it, as there are a number of practical parts of TDD that are worth drawing attention to. Hence, this appendix will not fully expose what TDD is. Rather, it will be a condensed description with annotations that point out parts that can be of value to your daily development practices.
In this appendix...