DEV Community

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

Collapse
 
n_develop profile image
Lars Richter

Hi Eljay,
Thanks for the great feedback.
I agree that tooling is an important point. I'm happy, that I can use C# and NUnit for my daily work. Even if I, just like you, would prefer xUnit.NET.

And a really critical part is the team. If your team is not willing to try TDD or, even worse, doesn't like unit tests at all, you're lost.

I haven't seen a lot of managers who would actively forbid writing unit tests. Most of the managers I have worked with, would not tell you to write unit tests, but they would not punish you, if you do AND get your stuff done.

I can totally see your point with "TDD done wrong", but in most cases I would state that integration tests are better than having no tests at all. :-)

I like your recommendation for using D. I have never really thought about using D as a programming language. But with your points in mind, I will get a closer look at that.