Jump to content

  • Log In with Google      Sign In   
  • Create Account


Test Driven Development and Games


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 KingofNoobs   Members   -  Reputation: 301

Like
0Likes
Like

Posted 24 November 2012 - 02:45 PM

Hello,

I was wondering if anyone could throw their two cents at me about whether it is worth it to invest my time learning about unit testing and test driven development. The thought occurred to me that perhaps these strategies were not practiced in the game industry, and that individual indies such as myself need not worry about. I was wondering if you could confirm or deny this. If unit testing and test driven development are two concepts that are worth the investment in a long term sense, then I will learn them. If not, I will write a game.

What do you think?

-Dave Ottley

I wonder as I wander...

http://www.davesgameoflife.com


Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9399

Like
1Likes
Like

Posted 24 November 2012 - 04:16 PM

Unsurprisingly, this has been asked before. One of the better threads is this one, in particular frob's first response is pretty helpful.

#3 frob   Moderators   -  Reputation: 18937

Like
2Likes
Like

Posted 24 November 2012 - 04:41 PM

I was wondering if anyone could throw their two cents at me about whether it is worth it to invest my time learning about unit testing and test driven development. The thought occurred to me that perhaps these strategies were not practiced in the game industry, and that individual indies such as myself need not worry about. I was wondering if you could confirm or deny this. If unit testing and test driven development are two concepts that are worth the investment in a long term sense, then I will learn them. If not, I will write a game.


If you want to learn it, then learn it. If you don't want to learn it, then don't.

TDD is not a difficult thing. You learn to write about ten lines of code, then a 1:1 test-to-development ratio after that. Learning the practice is very easy, you can get started with just an hour or so of effort.

The Tetris TDD example was already linked to above, I recommend it. It takes about 2 hours, less if you are already experienced.
Check out my personal indie blog at bryanwagstaff.com.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS