Understanding TDD in the Wider Testing Landscape
Besides the mechanics of test-driven development, this book has touched on a few ideas about the mindset of the TDD practitioner: how and when to “cheat,” systematic refactoring, strict TDD, and so on.
Some dev teams like to adopt the mantra of move fast and break things. TDD is the opposite: go slow and think about things. To understand what this means in practice, we can compare TDD with various other popular testing techniques.
The following topics will be covered in this chapter:
- Test-driven development as a testing technique
- Manual testing
- Automated testing
- Not testing at all
By the end of this chapter, you should have a good idea of why and how we practice TDD compared to other programming practices.