Chapter 5. Why TDD is Important
In the next few chapters, we'll introduce you to the terms, the structure, and the ideology around TDD so that you'll have sufficient knowledge to re-enter the world as a Test-Driven Developer and feel confident about using your skills throughout your long and prosperous career.
So, why is TDD so important? As more businesses and industries rely on software solutions, it's increasingly important that those solutions be robust and error-free. The cheaper and more consistent, they are the better. Applications developed with TDD in mind are inherently more testable, easier to maintain, and demonstrate a certain level of correctness not easily achieved otherwise.
In this chapter, we will gain an understanding of:
- Defining TDD and exploring the basics
- Creating our first tests in C# and JavaScript
- Exploring the basic steps of Red, Green, Refactor
- Growing complexity through tests