Questions tagged [testing]
A process of using software to verify expected results and find errors. Many types of testing are possible.
93 questions
22
votes
3
answers
3k
views
Reasoning about quest and story deadlocks etc
Are there frameworks for reasoning about questions such as: Given my quest and level design, is it guaranteed that for any combination of player choices there is no way for the player to lock ...
4
votes
1
answer
194
views
Automated playtesting in a 2D platformer
For a hard 2D platformer I'm working on, I want to make an automated playtesting system. The goal is to allow every level to be tested in parallel as part of an automated test suite. These tests would ...
1
vote
1
answer
137
views
Unity PlayMode Tests - Lifecycle Events don't fire when running 21 or more tests together
I'm experiencing an issue with my PlayMode tests, where all tests pass individually, but when running 21 or more tests together (using Run Selected or Run All), the same 2 tests fail. From further ...
0
votes
2
answers
86
views
Testing player preferences in unity
I have a section of a script that is pretty simple and works but I am wondering the best way to rewrite it to be testable.
...
2
votes
1
answer
177
views
How do I view the test going on in Unity Playmode?
I'm working on a new project using TDD, and I'm doing a good job of checking everything from the ground up including checking physics interactions on instantiated prefab, but I've gotten about to the ...
2
votes
2
answers
127
views
If a game automatically downloads addon content it doesn't already have when joining a server, how can I test this without a second computer?
What I want to do is host a local test server that has the file, and connect to it from a local client which doesn't have the file. The only issue is that both the server and the client will look for ...
1
vote
1
answer
135
views
Do game testers have to live locally to be considered?
I've been told by a few former game testers that you must live in their city because game testing has few educational requirements so it's easier to hire someone local. Some descriptions say "you ...
0
votes
1
answer
276
views
How can i write automated tests for some SDL2 objects?
For eg having a class that is rendering something on the screen, could be even a point or a line if not an image or whatever.
How is possible to write some tests for that class only?
or just a small ...
2
votes
3
answers
354
views
Testing Multiplayer Browser Game on Single Computer
I am writing a multiplay browser based game and am running into an issue with playtesting simple interactions. When a browser window loses focus is stops running requestAnimationFrame calls. This ...
5
votes
3
answers
454
views
How to test if a level is passable?
I am making an classic 2D arcade ball game. There will be 100 levels in this game. And after the 80th level passing the level by doing some arcade stuff will be very difficult.
For example level 100 ...
4
votes
1
answer
451
views
How can I test if my rage game's hardest levels are achievable?
I love rage games and have made a rage game too, but I always wondered how to test if levels in these types of games are too hard or not, since it's ironically too hard to test.
For example: If I ...
1
vote
1
answer
218
views
Reflect Code Changes in a Current Run
I am developing a game in Python using Pygame. I am wondering whether there is a way to make changes to a currently running game by modifying the script (like Notch does in this clip).
For example, ...
3
votes
0
answers
296
views
Is there any code analyser for Unity? [closed]
I want to analyse my Unity code, as to say all of my scripts, to check if there are obvious bugs or code smells. SonarQube does not support Unity as far as I know. I have heard of Gendarme but I don't ...
5
votes
1
answer
2k
views
Using VMs for game development or physical machine?
When I was doing web development, I would develop websites inside my virtual machines, which had all tools and packages downloaded on them and ready to go. I quite liked this approach to development ...
4
votes
1
answer
3k
views
How to write a unit test in Unity? [duplicate]
is there a tutorial and patterns to write unit tests in Unity ?
Should we use the classical c# way and test the code or should we test the interactions in UI ? If so how?
0
votes
1
answer
111
views
Are TestFlight apps the same as the finished product?
This may be an obvious question, but to me it is a little unclear. I built an app using PhoneGap. While testing with PhoneGap Desktop and the associated app it was pretty obvious that this was just a ...
0
votes
1
answer
394
views
Are mathematical models a good way to test strategy games?
I am currently working on a simple strategy game. The game is a space exploration game where the player has to try to keep the game going for as long as possible to score as many points as possible. ...
0
votes
1
answer
3k
views
How to test an android game made in Unreal Engine 4
I have made a android game in unreal engine 4 version 4.12.4 and I want to test it on a real android device and i do have an android tablet but i don't know how to get the exported project onto the ...
4
votes
1
answer
6k
views
How to make an Assert.IsNull test pass when the value is reported as <null>?
I've just started using unity tests with the built in editor tests. After making my test and finding out that it constantly failed I debugged the code and found that a static object was set to a new ...
2
votes
1
answer
257
views
Testers for multiplayer game? Where to find them?
I am indie game developer and we created multiplayer and realtime game IQ Wars (www.iqwars.net). We made Windows/Mac/Linux Beta version of our game public and were hoping to find some beta testers to ...
1
vote
0
answers
83
views
Beta testing of a prototype
I have developed a prototype for a new game concept. The game is an educational foreign language learning tool for K-16 students.
I am at the point where I need to test with sample groups of students,...
6
votes
2
answers
7k
views
How to write testable MonoBehaviour and test scripts in Unity?
I had problems with decoupled scripts and exposing interfaces in Unity, and these answers helped me a lot. But now, since I don't have hard-coded references in my scripts, I wanted to write unit tests ...
5
votes
2
answers
1k
views
Mock Collision Object in Unity
Problem:
I'm trying to set up some tests with mock collision objects, but i cannot construct collisions with custom objects. What I'm trying to do:
...
0
votes
1
answer
569
views
How or why are major video games programmed so reliably? [closed]
It seems like every five minutes, you come across yet another installer which fails to install certain components, another .NET application that throws up an unhandled or semi-unhandled error message, ...
2
votes
2
answers
274
views
Testing HTML5 canvas games on low resource computers
I've made a game in HTML5 & JS and want to test it on varying types of user setups as I've heard it doesn't perform too well on older MacBooks.
How can I accomplish this? I'm thinking of ...