TDD Revisited - Ian Cooper - NDC Porto 2023
AI Summary
In this talk, the speaker critiques the common understanding of Test-Driven Development (TDD), arguing that it is often misrepresented as a process centered solely on unit tests. The speaker emphasizes that TDD should focus on developer or programmer tests, which facilitate exploration and design through behavior-driven development. Key points include the importance of writing tests that reflect behavior rather than specific functions and the dangers of relying too heavily on mock objects. The speaker also discusses the fallacies surrounding TDD, such as the need for 100% test coverage, and the misconception that acceptance tests are the responsibility of customers. Overall, the talk encourages a more nuanced approach to TDD, advocating for a balance between writing tests and allowing for exploration and discovery during the development process.