//

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> unit testing
tschumann
post Jun 28 2012, 10:59 PM
Post #1


Advanced Member
***

Group: Moderator
Posts: 527
Joined: 20-March 09
From: Australia
Member No.: 283



This is more a question for a programmer.
Is unit testing something that is done with games? If it is, is there normally something built in to the engine to facilitate it?
Go to the top of the page
 
+Quote Post
Carlos Bordeu
post Jun 28 2012, 11:04 PM
Post #2


Super Member
****

Group: Developers
Posts: 1,920
Joined: 11-April 08
From: Santiago, Chile
Member No.: 4



Programmers don't roam these forums as much as we the designers do... so I'll step in and ask what you mean by 'units'. AIs / characters / enemies?
Go to the top of the page
 
+Quote Post
tschumann
post Jun 29 2012, 12:31 AM
Post #3


Advanced Member
***

Group: Moderator
Posts: 527
Joined: 20-March 09
From: Australia
Member No.: 283



Unit testing is automated testing of the code to make sure that it does what it should. It's basically code that checks the code is correct.
Go to the top of the page
 
+Quote Post
David C
post Jun 29 2012, 10:22 AM
Post #4


Member
**

Group: Developers
Posts: 223
Joined: 11-April 08
From: Chile
Member No.: 2



QUOTE (tschumann @ Jun 29 2012, 12:31 AM) *
Unit testing is automated testing of the code to make sure that it does what it should. It's basically code that checks the code is correct.

there are some tools to do this in videogames, it is usually done to do stress testing, for example leaving the game running all night playing against itself to check stability and memory management issues, it can also be done to test performance, like programming an AI to wander through the maps logging when the FPS goes under certain values... that kind of things
We have used this kind of code from time to time, when trying to find some specific, hard to find, bugs or memory issues, but some developers use it intensively to test their games
I hope this answered your question
Go to the top of the page
 
+Quote Post
tschumann
post Jun 29 2012, 11:24 PM
Post #5


Advanced Member
***

Group: Moderator
Posts: 527
Joined: 20-March 09
From: Australia
Member No.: 283



QUOTE (David C @ Jun 30 2012, 12:22 AM) *
I hope this answered your question


Yes it did, thanks. So I guess most of testing is manual then?
Go to the top of the page
 
+Quote Post
David C
post Jul 2 2012, 11:28 AM
Post #6


Member
**

Group: Developers
Posts: 223
Joined: 11-April 08
From: Chile
Member No.: 2



QUOTE (tschumann @ Jun 29 2012, 11:24 PM) *
Yes it did, thanks. So I guess most of testing is manual then?

Yes, for the kind of games that we made so far, manual testing has been the best option. (its always needed to find most of the bugs, since usually unit testing code will always do the same, over and over, we need to step out of the box to find most of the hard to find bugs)
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th May 2013 - 10:53 AM