3 Mar 2008

Cedric Beust on TDD

Disclaimer: If you've never done TDD you shouldn't watch this ;)
Why ? Because I think you can't understand those arguments until you have already experienced it.
Don't say "I won't do TDD because Cedric said so!" Try it for 2-3 months and then watch the talk...

For those who have already done TDD (Test Driven Development), Cedric Beust (From TestNG) gives an interesting, balanced talk about TDD (starts at 33 min).

Some of TDD drawbacks according to Cedric (extracted from one of the slides):
  • Promotes micro-design over macro-design
  • Hard to apply in pratice
  • No clear evidence that it produces better designs than "tests last"

The talk is actually much more balanced (and in favor of TDD) than this except my suggest... You should really take a look at it.



Technorati tags:

1 comment:

Pierre-Henri Trivier said...

What is really interesting is that Cedric says something in the line of "I don't care whether you write your tests first, or your tests last, as long as you write your frigging tests !!".

Which is really what I think we should focus on, and help people do.