HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 299533 thumbnail
User 403271 avatar

By wtfdeveloper
via makinggoodsoftware.com
Published: Nov 22 2009 / 17:10

Lots of people confuse “test first methodologies” with TDD, it is very common to listen comments like “TDD is just about writing your tests first”, which are completely wrong, these kind of affirmations are not describing TDD at all, they are talking about test first development.
  • 11
  • 9
  • 2518
  • 0

Comments

Add your comment
User 230306 avatar

Eric Burke replied ago:

2 votes Vote down Vote up Reply

The included diagram seems to contradict his core claim that TDD is different than Test First Development. I am not voting down on the merits of TDD versus some other approach. Instead, I am voting down because the article, as written, utterly fails to explain what exactly differentiates TDD from Test First Development. He says they are different, uses exclamation points, and obviously believes it to be true. But after reading the article, I did not feel convinced or enlightened.

Just to pick on one of many unsubstantiated claims, take this one: "TDD code should look simple and lean". I will argue that ALL code should look simple and lean.

Another gem: "TDD is a design practice, is more related with emergent design than with testing.". Perhaps this is true, but that's all he says about that. How about backing it up with some examples? Without more detail and supporting arguments, this adds nothing new to our collective knowledge.

User 284937 avatar

rfssdm replied ago:

0 votes Vote down Vote up Reply

I agree. TDD is more about getting away from fear-driven development. Whether the short term goal is testable code or emergent design is not really the most important aspect - To me, it's both.

The more interesting aspect for me is keeping test designs abstract enough to be flexible and concrete enough to be usable and understandable - Gerard Meszaros's book is a good start in that direction.

User 156739 avatar

sandyboy44 replied ago:

1 votes Vote down Vote up Reply

As far as I know and what I have learned from the experts, TDD = Test-First Development + Continuous Integration + Refactoring + OO Metrics + Code Coverage.
,

User 308535 avatar

elpetecan@gmail.com replied ago:

0 votes Vote down Vote up Reply

That's precisely what the article says....

User 156739 avatar

sandyboy44 replied ago:

0 votes Vote down Vote up Reply

Not really. I didn't find that message in your article. Your article tries to promote that TDD is not related to TFD. The first step in TDD (IMHO) is TFD.
,

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.