Get the latest Education e-news
 

Go Back   Game Career Guide Forums > Game Career Guide > Getting Started
Forum Home Register Members List Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-22-2011, 12:34 AM   #1
mewhywhy
Junior Member

Activity Longevity
0/20 10/20
Today Posts
0/11 ssssssss3
Default 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
mewhywhy is offline   Reply With Quote
Old 02-22-2011, 12:49 AM   #2
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
2/20 19/20
Today Posts
0/11 sssss2267
Location: UK
Default

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.
yaustar is offline   Reply With Quote
Old 02-22-2011, 01:28 AM   #3
mewhywhy
Junior Member

Activity Longevity
0/20 10/20
Today Posts
0/11 ssssssss3
Default

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!
mewhywhy is offline   Reply With Quote
Old 02-22-2011, 09:44 AM   #4
Adrir
Administrator
 
Adrir's Avatar

Activity Longevity
1/20 20/20
Today Posts
0/11 sssss1466
Location: London, UK
Default

Quote:
Originally Posted by yaustar View Post
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?
__________________
Michael 'Adrir' Scott :: Games, Virtual Worlds, Education
Networking | Current Project | Research | Teaching
Adrir is offline   Reply With Quote
Old 02-22-2011, 09:57 AM   #5
tsloper
Super Moderator

Activity Longevity
4/20 14/20
Today Posts
2/11 sssss1864
Location: Los Angeles, CA
Default

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?
__________________
Tom Sloper
Sloperama Productions
Making games fun and getting them done. www.sloperama.com

PLEASE do not use this website's PM feature to contact me.
tsloper is offline   Reply With Quote
Old 02-22-2011, 11:39 AM   #6
mewhywhy
Junior Member

Activity Longevity
0/20 10/20
Today Posts
0/11 ssssssss3
Default

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
mewhywhy is offline   Reply With Quote
Old 02-23-2011, 01:48 AM   #7
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
2/20 19/20
Today Posts
0/11 sssss2267
Location: UK
Default

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.
yaustar is offline   Reply With Quote
Old 02-23-2011, 05:48 AM   #8
MAEnthoven
Member

Activity Longevity
0/20 13/20
Today Posts
0/11 sssssss30
Location: Evanston, IL
Default

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.
__________________
Portfolio/Resume: http://www.MatthewEnthoven.com
Blog: http://www.blacksen.com
MAEnthoven is offline   Reply With Quote
Old 02-23-2011, 07:26 AM   #9
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
2/20 19/20
Today Posts
0/11 sssss2267
Location: UK
Default

AFAIK, Unit Tests are a form of Test Cases and are not the same thing. They are used to automate Test Cases.
yaustar is offline   Reply With Quote
Old 02-23-2011, 07:40 AM   #10
tsloper
Super Moderator

Activity Longevity
4/20 14/20
Today Posts
2/11 sssss1864
Location: Los Angeles, CA
Default

Quote:
Originally Posted by mewhywhy View Post
I'm going for a Q&A position
Question & Answer? Really? What's a Question & Answer position? Maybe I could apply for that.
__________________
Tom Sloper
Sloperama Productions
Making games fun and getting them done. www.sloperama.com

PLEASE do not use this website's PM feature to contact me.
tsloper is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 11:47 PM.






UBM Tech