0

TDD and unit testing is still OK

by klh 9. oktober 2009 13:13

OK there, for a while I was a bit worried about if I should stick with unit testing.

For a while I have been in doubt, for mainly two reasons:

1. I went to ANUG where Martin Olesen presented on BDD and stated that he didn’t always do TDD.

2. Ayende presented on JAOO Danish .Net User Group and stated that he only do unit testing in very few places in NHProf and used TDD even fewer places.

 

This all made me think about TDD and Unit testing, since two really smart guys felt this way about unit testing.

However aften some thought and scrum master training with Jeff Sutherland, where he stated: “All the best teams I see are running XP inside scrum”, meaning the best teams also practice TDD, I now conclude TDD is still OK! - Phew :-)

But OK now why do the two afore-mentioned smart guys not use unit testing intensively?

Well first and foremost these two guys are not new with software development, and since TDD is a design technique, they might not need it.

Ayende actually stated that he still did TDD on the hard parts (as I understand it, where he finds design hard).

Secondly Ayende presented on how he made implementing a feature in NHProf really simple, actuallly so simple it was not designed. And he stille tested it – using integration tests.

Thirdly Martin Olesen stated that his team was still not good enough to drop TDD, he would like to, but it was not possible.

So TDD is still OK!

Tags:

C# | TDD

Kommentarer

Tilføj kommentar


(Viser dit Gravatar icon)  

  Country flag

biuquote
  • Kommentar
  • Eksempel
Loading



Powered by BlogEngine.NET 1.4.5.0
Original Design by Laptop Geek, Adapted by onesoft