DEV Community

Discussion on: What were your problems with "real world TDD"?

Collapse
 
n_develop profile image
Lars Richter

Hi Tobias,

thanks for your feedback.

I can't stress enough that TDD is one tool that helps us writing code that's
both tested and testable. Nevertheless, the focus should be on the goals, not the process.

That's true. The goals are more valuable than the process. Good statement.

In contrast, when exploring the solution space of a problem or a new technology, TDD can be more of a distraction. In this case, I prefer working towards a working solution before (!) figuring out how to test it.

I don't fully agree here. When it comes to new technologies, I agree. But if I am working towards an unknown solution, I find TDD pretty helpful. Using TDD, I can focus on the requirements and that helps me find a solution.

Understanding what makes up testability and reasonability should be the primary goal for anyone who's learning TDD.

Amen. :-)