Game Career Guide Forums

Game Career Guide Forums (http://www.gamecareerguide.com/forums/index.php)
-   Getting Started (http://www.gamecareerguide.com/forums/forumdisplay.php?f=2)
-   -   Game Testcase Template (http://www.gamecareerguide.com/forums/showthread.php?t=4619)

mewhywhy 02-22-2011 12:34 AM

Game Testcase Template
 
Heya guys!

I'm trying to apply for a position as Game Tester.
But for that i need to make a testcase of a game that's already out and test it like i would do with their games.

I was wondering if someone here has experience as a Game Tester and could provide a example of a testcase on how it should look like and some tips if possible. (And maybe any specific programs used in making a testcase)

I thank you for taking the time reading this.
-Mewhywhy

yaustar 02-22-2011 12:49 AM

A testcase should be made of two parts. What to do and what should happen.

An example for Super Mario Bros.

Jumping on the top of the flag pole at the end of every level should award 5000 points.
Collecting 100 coins should award a 1-up.

Every game with have 1000's (if not more) of testcases.

mewhywhy 02-22-2011 01:28 AM

Thank you for your quick response Yaustar.

I'm wondering if you have a more detailed example?
As i can see you have worked as a game tester yourself maybe you could share one of your old testcases?

Is you prefer not posting it you can always mail me ofcourse (mewhywhy@gmail.com)

Thanks!

Adrir 02-22-2011 09:44 AM

Quote:

Originally Posted by yaustar (Post 23699)
Collecting 100 coins should award a 1-up.

It really is that simple:

1) Determine Expected Result
2) Run Test
3) Does Result Match Expected Result?

How deep are you expecting to go? Writing your own unit tests at the development level or just playing a release candidate?

tsloper 02-22-2011 09:57 AM

Some companies require a test case to be a yes/no question to which the desired answer is yes (when the answer is yes, the test case passes).
Ex.:
When 100 coins have been collected, is the player awarded a 1-up?

mewhywhy 02-22-2011 11:39 AM

Mmh, sounds easier then i thought it would be.

It's funny to hear the different forms companies use like the yes/no or u can get in even deeper with the development.

I was always in my head with that you had to write down the exact coordinates and a description of a hour long on what it is i did to get the bug etc.

I'm going for a Q&A position that opens up in my country, so it's just making sure that games are totally awesome bug free before they go out to the public.

Thanks for the help!
If anyone wants to add their opinion/template to the topic please do so ofc :)

-Mewhywhy

yaustar 02-23-2011 01:48 AM

You look like you are confusing a test case with a bug report.

A bug report, you have to write down the exact (and preferably smallest) steps to reproduce a bug, how often you can reproduce it using these steps, the outcome of the bug (eg the game crashes) and the expection of what should happen or a reference to the test case.

MAEnthoven 02-23-2011 05:48 AM

Could just be my inexperience here, but I usually think of "test case" as actual test case code. The companies that I've worked for (outside of gaming) have all referred to "writing test cases" as writing unit tests that test various scenarios. Going with the 100 coins example, you would set up the game with you having 99 coins, 1 life, and a coin above you, hard-code a "jump" action to get the 100th coin, then write a System.Assert that you have 0 coins, 2 lives, and no coins displaying on the map.

"Submitting" the test case would then be submitting commented code that creates that example.

yaustar 02-23-2011 07:26 AM

AFAIK, Unit Tests are a form of Test Cases and are not the same thing. They are used to automate Test Cases.

tsloper 02-23-2011 07:40 AM

Quote:

Originally Posted by mewhywhy (Post 23714)
I'm going for a Q&A position

Question & Answer? Really? What's a Question & Answer position? Maybe I could apply for that. ;)


All times are GMT -8. The time now is 10:17 PM.

Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.