Game Programming, Etc.

Games, programming, and related topics — by John Giors

Test-driven development

Posted by jgiors on 2006-03-23

This Test-Driven Development (TDD) paper was presented yesterday at GDC (the Game Developers Conference). Not that I was present to see it…[Why do I miss the conference so often? *sigh*]

The idea of TDD is to program in this sequence:

  1. Write test case(s).
  2. Write code.
  3. Refactor code.
  4. Iterate.

It's similar to typical "unit testing", but on a broader scale. I'm not sure what to make of it yet, but it's intriguing to say the least.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>