Questions tagged [testing]

A process of using software to verify expected results and find errors. Many types of testing are possible.

Filter by
Sorted by
Tagged with
0 votes
1 answer
124 views

Unity PlayMode tests - cannot find UnityEngine.InputSystem assembly

I'm trying to simulate user input in my Unity PlayMode tests. I've been reading this guide on the Unity website about adding input simulation into my tests. Specifically, it mentions I need to add the ...
Samuel Slade's user avatar
1 vote
1 answer
65 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 ...
Samuel Slade's user avatar
1 vote
1 answer
239 views

How do I write unit tests in ECS when behaviors cause creation of deletion of entities?

I am writing a game using a custom ECS architecture. I recently had a chain of nasty bugs where fixing one bug caused regressions elsewhere. Being a software engineer by trade, I suppose that unit ...
Tim C's user avatar
  • 411
0 votes
2 answers
44 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. ...
Doug Ray's user avatar
  • 143
3 votes
1 answer
256 views

How do I integrate Unity and CodeCov (Using GitHub Actions)?

GitHub actions attempt to upload my coverage reports to CodeCov, but I get an error. Below is my most recent GitHub Action code, and the error I'm receiving from CodeCov. Please let me know if there ...
JShoe's user avatar
  • 75
2 votes
1 answer
125 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 ...
JShoe's user avatar
  • 75
3 votes
0 answers
195 views

Install and register game to local steam client programmatically

I'm doing some automated UI testing - I want to programmatically install a game and then launch it. From what I've seen, the Steam client isn't very accessible for UI automation (I can't view elements ...
TomSelleck's user avatar
2 votes
2 answers
79 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 ...
Sparkette's user avatar
  • 133
0 votes
0 answers
251 views

How can I record and replay axis input accurately for testing?

I want to do integration testing for an old C#/Unity project. The project uses its own input system, so I can't use inputEventTrace or any other convenient Unity ...
Lauchon's user avatar
1 vote
1 answer
78 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 ...
user avatar
0 votes
1 answer
490 views

How do I set up unit tests in Unity?

I have followed the Unity Test Framework documentation to create an EditMode test assembly and a test script. When I try to test a function like Utils.SomeMethod(), ...
Matt's user avatar
  • 375
0 votes
1 answer
159 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 ...
Raffaello's user avatar
  • 125
3 votes
3 answers
190 views

How to automatically test a game's mechanics without duplicating work?

I've heard and read enough programmers firmly advocating automatic tests. According to many, tests are themselves part of a code's functionality, untested code is broken and/or legacy by definition, ...
gaazkam's user avatar
  • 937
2 votes
3 answers
264 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 ...
stats's user avatar
  • 135
6 votes
0 answers
78 views

How can I make sure my OpenCL code works correctly on different graphic cards?

I'm testing on adding some OpenCL code in my game, but I only have a single Nvidia card & I'm not sure the code will run normally on other platforms. Is there any way to make sure my code runs ...
ravenisadesk's user avatar
4 votes
3 answers
334 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 ...
Tarkan Genç's user avatar
5 votes
1 answer
225 views

OpenGL self-test in a mobile game

I've made an Android game that uses no/custom game engine. It renders using OpenGL ES 2.0 and optionally uses some extensions for optimization or extra effects. Over the time I have dealt with various ...
michalsrb's user avatar
  • 166
3 votes
1 answer
296 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 ...
Noodles's user avatar
  • 148
1 vote
1 answer
103 views

strategies for detecting regressions [closed]

I know writing tests would be a good way to catch regressions. But what are some other strategies? TDD and game dev don't suit, but catching regressions is obviously something desirable. I would love ...
eternalNoob's user avatar
1 vote
1 answer
109 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, ...
DyingIsFun's user avatar
  • 1,307
1 vote
1 answer
43 views

Google Play beta testing

I made a game I wish to upload to Google Play and I faced the options Production Beta testing Alpha testing I made the game all alone and I think it is complete, was tested on multiple physical as ...
agiro's user avatar
  • 269
3 votes
0 answers
276 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 ...
Shashimee's user avatar
  • 1,240
1 vote
0 answers
88 views

Possible to test a game on multiple machines without owning multiple machines?

I'm working on a small PC game (Uses custom engine written in C++) that I would like to test. Not as much the gameplay but the engine itself. See if there are any crashes, errors, glitches or missing ...
AdyAdy's user avatar
  • 133
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 ...
Jason's user avatar
  • 413
3 votes
0 answers
95 views

Automated performance testing

I'm wondering if there's anyway of automatically testing the performance of my game on multiple configurations because I know a game runs well on my computer but how do I know how well my game ...
Yatoniea's user avatar
  • 181
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?
Rıfat Erdem Sahin's user avatar
8 votes
1 answer
304 views

How to report bugs found on procedurally generated levels?

There is many topics on how procedural generating works but I couldn't find any info on how to test and - what's more important - how to report bugs that may occur on procedurally generated levels. ...
BoYLER's user avatar
  • 83
0 votes
1 answer
79 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 ...
DasBeasto's user avatar
  • 648
1 vote
2 answers
141 views

How can we test a section of a game?

I'm making a clone of an old atari 2600 game, so it's simple, only slightly more complex than the original. I'm realizing that even the simplest of games have different "parts", what is a good ...
Neal Davis's user avatar
0 votes
1 answer
341 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. ...
Sorade's user avatar
  • 283
1 vote
0 answers
40 views

Declaring another alpha or beta testing after a game app for Android (APK file) is uploaded and already published in Google Play Store

This question is related about alpha or beta release in Google Play Store. . Let's say my app (APK file) was uploaded in alpha/beta testing. If one of the testers satisfied or quick fixes on the bugs, ...
David Dimalanta's user avatar
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 ...
Nicholas's user avatar
13 votes
1 answer
2k views

how to automate the game testing?

I am new into this field of testing. I just developed a basic game using unity engine but i want to test it. I have checked with selenium but i don't know how to get the value that is being returned ...
StrayArrow's user avatar
4 votes
1 answer
5k 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 ...
user3797758's user avatar
  • 3,631
2 votes
3 answers
805 views

How to test if procedurally generated level for infinite runner can be passed?

I have a 2D infinite runner platformer game built in Unity 5, where the level procedurally generates itself. I need to check if it is possible to pass the holes on the level. How could I do that?
John Doe's user avatar
2 votes
1 answer
205 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 ...
Tony's user avatar
  • 121
2 votes
1 answer
229 views

How does one test the effectiveness of a game engine?

A few friends and I are working on a home-brewed engine for a selection of games we wish to produce in the future. We're making it to satisfy a few key requirements that we haven't found were properly ...
user3002473's user avatar
1 vote
0 answers
63 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,...
user3871's user avatar
  • 1,035
3 votes
1 answer
587 views

Do I have to commit the downloadable assets for Unity to the repo? Or a reference for the team to download them?

QUESTION (Short version) I am going to use the Unity Test Tools asset to do unitary testing. Q: Do I have to commit the ...
Xavi Montero's user avatar
  • 1,063
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 ...
K.L.'s user avatar
  • 795
4 votes
2 answers
396 views

How can I make sure my game runs on older GPUs than mine?

My game must stay at 75fps to be playable (I'm developing for the Oculus Rift) and I'm optimizing with that hardware in mind. My mid-range Nvidia GTX 650 Ti struggles a little with some Rift demos, ...
NeoZero's user avatar
  • 41
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: ...
CostelloNicho's user avatar
0 votes
1 answer
311 views

Black Box Functionality Testing Methods that apply to an MMO [closed]

I've been interesed in a career in Video Game QA for a long time now. I've participated in roughly a dozen+ public/closed betas for different games, everything from FPS, MMO, MOBA and RTS, as well as ...
Prototype958's user avatar
0 votes
1 answer
544 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, ...
Panzercrisis's user avatar
3 votes
1 answer
2k views

How to test a 3D rendering engine? [duplicate]

Me and some friends developing simple 3D rendering engine as practice for the university. We used Ogre 3d as prototype and now we are developing it from base The engine is wrapped up in simple game ...
Roi Shabtai's user avatar
2 votes
2 answers
243 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 ...
Sam's user avatar
  • 123
0 votes
1 answer
66 views

Android Live Testing

I am making a game for android and in it I am using sensors which are not available in the emulator. At the moment I am connecting my device and transferring the apk, then installing to test but that ...
user avatar
110 votes
7 answers
65k views

How can I simulate a bad internet connection for testing purposes?

I am developing an online multiplayer game. It works well when I test it on the local area network, but before I release it I would like to test how the user-experience works out for someone who has ...
Philipp's user avatar
  • 118k
1 vote
1 answer
204 views

Betatesting an android game. Best practices? [duplicate]

Our game is in our final stage prior to be released. I would like at this stage to add some beta testers to let them hunt bugs, etc... Is there any good platform/site to achieve this? I have noticed ...
Notbad's user avatar
  • 1,085
3 votes
3 answers
365 views

Game testing solutions?

I have a unity web browser game. Since I'm working on a small company with limited machines which are all of either 2GB RAM or 4 GB RAM with decent processors. I'd like to know if there are any web ...
Vishnu's user avatar
  • 1,877