TDD and Game Dev

Any of you using Test Driven Development when building your games?

Yes, to test the building blocks of the game (the library code).

It’s fairly low level though, mostly testing utility functions and basic data structures of the game. At higher levels of abstraction you’re writing Stubs and Factories, which is just a waste of time on a non J2EE environment, IMHO.

I wrote some junit tests(8), and they payed off when I was moving things around, but when it becomes time consuming I look at other stuff.

Nah never bothered really. Might have caught some bugs with them but the stuff I do is so simple it’s hardly worth it.

Cas :slight_smile:

sry for my asking but, what is that?

Don’t think I would say “so simple” I have played your games they are too good to be “so simple” :wink:

Polished, not complicated.

Kev

Yup, that’s the trick with my games… never more than about 100-120 class files in the actual game itself. (Support libraries are somewhat bigger but generally so old and long in the tooth all the nasty bugs are long since zapped)

Cas :slight_smile: