Introduction: Dispelling Common Myths About TDD
Explore common myths about test-driven development and learn how to overcome objections. Understand TDD's proven benefits for code quality in various environments, and gain insights to advocate its adoption among peers.
We'll cover the following...
Explore dispelling common myths
Test-driven development (TDD) brings many benefits to developers and the business. However, it is not always used in real projects, which we find surprising. TDD has been demonstrated to improve internal and external code quality in different industrial settings. It works for the front-end and back-end code. It works across verticals. We have experienced it working in embedded systems, web conferencing products, desktop applications, and microservice fleets.
Chapter goals
To better understand how perceptions have gone wrong, let’s review the common objections to TDD and explore how we can overcome them. By understanding the perceived difficulties, we can equip ourselves to be TDD advocates and help our colleagues reframe their thinking. We’ll examine six popular myths that surround TDD and form constructive responses to them.
In this chapter, we’re going to cover the following main topics: